This is a simple Haskell project template for you to start a new project from scratch right away.
The project uses Haskell Stack as the build tool.
You can set up a local dev environment by using GHCup.
Or you can use a Docker dev container that I created to get into action right away.
Please update the GHC Stack snapshot version in stack.yaml before building your project. Go to Stackage to find the version you need.
A cabal file will get auto-generated by the project. Please DO NOT edit the cable file manually. Project related configrations should be updated in stack.yaml and package.yaml.
Build:
stack build
Test:
stack test
stack runghc <file-path>
Start the REPL
stack ghci
Within the REPL prompt
:l <filepath>
Stylish-haskell is recommended.
To install it:
stack install stylish-haskell