Calculate digits of Pi in hexadecimal.
Josh Bicking 150d9e162a Disable output buffering, add arg to enable it. | il y a 7 ans | |
---|---|---|
app | il y a 7 ans | |
src | il y a 7 ans | |
test | il y a 7 ans | |
.gitignore | il y a 7 ans | |
LICENSE | il y a 7 ans | |
README.md | il y a 7 ans | |
Setup.hs | il y a 7 ans | |
pi-digits.cabal | il y a 7 ans | |
stack.yaml | il y a 7 ans |
Calculate requested digits of Pi.
Built using The BBP Algorithm for Pi.
Install stack
, then run stack build
from inside the repository.
Run stack exec pi-digits-exe
, or execute the binary found in ./.stack-work/install/
.
optparse-applicative
for more formal/extensive arg parsing.prompt
with a monad.optparse-applicative
.delim
and printFun
.parseIndex
handles all parsing and calling logic now.--buffer
.