This repository contains the skeleton code for the "Super Functor Factory" project, which comprises:
- Function stubs for all of the functions that need to be implemented as part of the project. The Super Functor Factory program can be run with
stack run. In order to complete the project, onlysrc/Game.hsneeds to be modified. - A test suite for the project, which can be run with
stack test. The source code for the test suite can be found intest/Spec.hs.
You can use stack run to get Stack to build and run your program. Additionally, the following options are supported:
--no-unicodewill use colour-specific characters instead of lambdas to display the conveyor in the terminal.--no-colourimplies--no-unicodeand also will not use colour codes in the terminal.
When using Stack, the options can be invoked with e.g. stack run -- --no-unicode.