Calculate digits of Pi in hexadecimal.
|
|
8 år sedan | |
|---|---|---|
| app | 8 år sedan | |
| src | 8 år sedan | |
| test | 8 år sedan | |
| .gitignore | 8 år sedan | |
| LICENSE | 8 år sedan | |
| README.md | 8 år sedan | |
| Setup.hs | 8 år sedan | |
| pi-digits.cabal | 8 år sedan | |
| stack.yaml | 8 år sedan |
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.