Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.08 KB

README.md

File metadata and controls

33 lines (21 loc) · 1.08 KB

MAC x MAPS Introduction to Functional Programming Workshop

Run stack test to test parts 1 to 3.

  • stack test --test-arguments 1: only test part 1
  • stack test --test-arguments 2: only test part 2
  • stack test --test-arguments 3: only test part 3

For part 3, run stack run to try out the calculator.

If you want more things to do, there are extra bonus tasks in Bonus.hs. Run stack test --test-arguments bonus to run the tests for these.

Solutions are available on the solutions branch.

Windows Issues

If you get an error like this

Error: [S-7282]
       Stack failed to execute the build plan.

       While executing the build plan, Stack encountered the following errors:

       <stderr>: commitAndReleaseBuffer: invalid argument (invalid character)

(windows moment)

Go to Settings → Time and Language → Language and Region → Administrative language Settings → Change System Locale… → and check Use Unicode UTF-8. You might need to restart your computer.