Skip to content

Latest commit

 

History

History
36 lines (19 loc) · 913 Bytes

dev_setup.markdown

File metadata and controls

36 lines (19 loc) · 913 Bytes

Developer Setup

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.

cabal

Use ghcup to install GHC and cabal to build and run tutd.

ghcup install ghc
cabal new-run tutd

stack

Use stack to build and run tutd.

stack --stack-yaml=stack.ghc.9.2.yaml run tutd

VSCode

Project:M36 can be used with the haskell-language-server (HLS) with the Haskell Language plugin to VSCode with either stack or cabal.

cabal

Before launching VSCode, rename cabal.hie.yaml to hie.yaml.

stack

Before launching VSCode, rename stack.hie.yaml to hie.yaml.