Chapter 2
Getting Started with Haskell
Section 3
Editing Haskell Source Code
The interactive interpreter is a great tool, but we're not going to be able to write longer programs without breaking our text editor. In this video, we'll look at how to use ghci along with our source code files. - Create a Haskell source file with a 'main' function - Learn how to work in ghci alongside your text editor - Learn how to compile your source code using ghc