This is the initial README file for your project. You should update it as you see fit.
Haskell packages typically divide their source code into three separate places:
- The bulk of your code should be developed as a reusable library in modules in the
src
directory. We've created Lib.hs for you to get started. You can add additional modules here. - The entry point for your executable is in Main.hs.
- All of your test cases should be in the test directory.
This project compiles with stack build
.
You can add any needed library dependencies and update project metadata in package.yaml. You should NOT edit the .cabal
file. It is automatically generated by running Stack; see this article for more information.
You can run the main executable with stack run
.
You can run the tests with stack test
.
Lastly, you can start a REPL with stack ghci
.