Calculate digits of Pi in hexadecimal.
Josh Bicking 512e4a2339 Separate into files, consolidate calling to avoid passing. | пре 7 година | |
---|---|---|
app | пре 7 година | |
src | пре 7 година | |
test | пре 7 година | |
.gitignore | пре 7 година | |
LICENSE | пре 7 година | |
README.md | пре 7 година | |
Setup.hs | пре 7 година | |
pi-digits.cabal | пре 7 година | |
stack.yaml | пре 7 година |
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.