Chosen operating system: Windows
Download and run the installer:
Windows 64-bit installer
With the Haskell Stack you get a comprehensive development environment for Haskell:
To quickly run a Haskell script:
Copy the following content into a file called HelloWorld.hs
HelloWorld.hs
#!/usr/bin/env stack -- stack --resolver lts-13.7 script main :: IO () main = putStrLn "Hello World"
stack HelloWorld.hs
Done!
Start on a proper Haskell package. Run the following in your terminal:
$ stack new new-project rio $ cd new-project $ stack run
Congratulations, you're setup to start writing Haskell code! We've broken down next steps into a few common workflows with Stack. If you're not sure where to start, we recommend reading them in order.
Congratulations, you're setup to start writing Haskell code! Now you're ready to: