Chapter 3
Exploring Haskell
Section 3
GHCi and Interactive Haskell
When we’re learning a new programming language, it can be very helpful to be able to query the types of values and expressions, and to be able to browse types and modules. The GHC compiler provides the GHCi read-evaluate-print loop, which allows us to inspect Haskell code at runtime. - Ensure that we start the correct version of GHCi using Stack - Explore shell commands as well as types and values - Explore kinds, browse/load/reload modules and edit code