Quick steps to get up and running with Haskell.
Chosen operating system: Windows
Download and run the installer:Windows 64-bit installer
For those on older machines, or running a legacy OS, we also offer a 32-bit version: Windows 32-bit
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
#!/usr/bin/env stack -- stack --install-ghc runghc main :: IO () main = putStrLn "Hello World"
Start on a proper Haskell package. Run the following in your terminal:
You can now edit the source files in this directory (see the file
src/Lib.hs), and rebuild and run the project with
stack build and
stack exec new-project-exe as above.
Congratulations, you're setup to start writing Haskell code! Now you're ready to: