- factorial
- Displays a help message
- factorial <number>
- Shows the factorial of <number>, using product
- factorial recursive <number>
- Shows the factorial of <number>, using recursion
- factorial foldr <number>
- Shows the factorial of <number>, using foldr
- factorial version
- Shows the version number
Install
cd ~
git clone https://github.com/noisytoot/factorial
stack build
stack install
Update
cd ~/factorial
git pull
stack build
stack install