GildedRose-Refactoring-Kata/haskell
2024-09-14 13:14:49 +02:00
..
src Add Haskell port 2015-02-24 05:11:15 +01:00
test Add Haskell port 2015-02-24 05:11:15 +01:00
.gitignore add working directories to haskel .gitignore 2024-09-14 13:14:49 +02:00
gilded-rose.cabal chore(haskell): update base and add stack file 2018-10-22 23:07:04 +02:00
README.md chore(haskell): update base and add stack file 2018-10-22 23:07:04 +02:00
stack.yaml chore(haskell): update base and add stack file 2018-10-22 23:07:04 +02:00

Haskell port of the Gilded-Rose Kata

This is a Haskell port of the Gilded-Rose-Kata.

Prerequisite

If you don't have a recent Stack version installed in your system, follow the installation instructions for your operating system.

Building and Running

Run stack build initially, then stack test to execute the tests after each refactoring.

To execute the program run stack run [days] where [days] denotes an optional parameter for the number of days to simulate.

Tests are in test/GildedRoseSpec.hs. Refer to http://hspec.github.io/ for more information about writing tests using Hspec.