- Install Haskell Platform
- Install Visual Studo Code
- Install VS Code Plugin Haskell Syntax Highlighting
- Install VS Code Plugin Haskell Language Server
- Install Haskell IDE Engine (takes a while)
Create a new project by typing:
stack new hello-haskell-world simple
then to get the appropriate GHC (this takes some time):
cd hello-haskell-world
stack setup
Build:
stack build
Run:
stack exec hello-haskell-world
Start the REPL from your project folder:
stack ghci
Reload:
:reload
Run the main method:
main