Haskell port of the Gilded-Rose Kata
This is a Haskell port of the Gilded-Rose-Kata. For more information visit https://github.com/emilybache/GildedRose-Refactoring-Kata.
To install Stack on macOS with Homebrew you can do
brew install haskell-stack.
Building and Running
stack install --install-ghc initially, then
stack test to execute the tests after
The tests are in
test/GildedRoseSpec.hs. Refer to http://hspec.github.io/ for
more information about writing tests using
stack build to build the executable.
To execute the program run
stack exec gilded-rose [days] where
[days] denotes an optional
parameter for the number of days to simulate.