Skip to content

amerocu/haskell-editor-setup

 
 

Repository files navigation

Haskell Editor Setup

An example project setup for Haskell using VSCode. Fire those commands hoping for the best.

Install Stack

Install stack

wget -qO- https://get.haskellstack.org/ | sh

Install tools system wide (cd ~)

stack install hlint phoityne-vscode hspec-discover

Build this project

stack build

stack test

You have to export Stack installed binaries if not already in your path

export PATH=$PATH:~/.local/bin

Install HIE

With Nix

Install nix

bash <(curl https://nixos.org/nix/install)

Install cachix client

nix-env -iA cachix -f https://cachix.org/api/v1/install

Cache hie binaries

cachix use all-hies

Install some HIE for lts-14.21(ghc-8.6.5)

nix-env -iA selection --arg selector 'p: { inherit (p) ghc865; }' -f https://github.com/infinisil/all-hies/tarball/master

Usefull links

Heavily inspired by

Nix things

Generally usefull

About

Haskell Editor Setup

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Haskell 100.0%