Use cabal
to work with Haskell sources
Build everything
cabal build all
Build library only
cabal build ClickHaskell
Run tests
Note that: test requires databasecabal run test
Use nix
to run routine actions
Initialize database
to work with database dependent code
nix run
(delete
./data
dir to reinitialize database)Initialize database and run tests
nix run .#testing
(delete
./data
dir to reinitialize database)