Skip to content

Instantly share code, notes, and snippets.

What would you like to do?

Haskell Getting Started

Install Haskell Platform

VS Code

Create A Project

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 And Run


stack build


stack exec hello-haskell-world

Interactive REPL

Start the REPL from your project folder:

stack ghci



Run the main method:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.