-
Run
cabal update
after installation to fetch the lastest package information, afterwards runcabal install --only-dependencies
from the count-von-count folder to install all Haskell dependencies.
To build the application run cabal configure
and cabal build
from the
count-von-count folder. The executable is now available as
dist/build/count-von-count/count-von-count
.
Developing the application:
- Run
ghci
from the project folder - Load the main source file:
:l src/CountVonCount/Main.hs
- Enter
main
to start the program,^C
to interrupt - Enter
:r
to reload all changed modules
Testing the application:
- Install the test framework, using
cabal install test-framework-hunit
- Execute
runghc -isrc -itests tests/CountVonCount/TestSuite.hs
- count-von-count-simulation
- count-von-count-replayer