Skip to content

Noisytoot/factorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

factorial

Usage

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

Installation

Install

cd ~
git clone https://github.com/noisytoot/factorial
stack build
stack install

Update

cd ~/factorial
git pull
stack build
stack install

About

Command-line factorial program in Haskell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published