-
-
Save oakfang/63124b6c51eec22c19ab to your computer and use it in GitHub Desktop.
A Numenera attack roller written in Haskeel for infix functions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ArgParse | |
import Dice.IO | |
import Dice.Pure | |
handleOptions :: Option -> IO () | |
handleOptions (Level level) = rollAgainst level >>= (\result -> putStrLn $ rollMessage result) | |
main = do | |
argparse handleOptions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment