Project:M36 is developed in Haskell with GHC 9.2+ and stack or cabal. Project:M36 includes server and client executables, a test suite, and example programs. See project-m36.cabal for the available options.
Use ghcup
to install GHC and cabal
to build and run tutd
.
ghcup install ghc
cabal new-run tutd
Use stack
to build and run tutd
.
stack --stack-yaml=stack.ghc.9.2.yaml run tutd
Project:M36 can be used with the haskell-language-server (HLS) with the Haskell Language plugin to VSCode with either stack
or cabal
.
Before launching VSCode, rename cabal.hie.yaml
to hie.yaml
.
Before launching VSCode, rename stack.hie.yaml
to hie.yaml
.