Calculate digits of Pi in hexadecimal.
Josh Bicking 150d9e162a Disable output buffering, add arg to enable it. | 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.--buffer
.