Skip to content

Instantly share code, notes, and snippets.

  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save adilakhter/e292603907b2e99aaa433dafdcdb7705 to your computer and use it in GitHub Desktop.

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 buld


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