Main.hs 285 B

123456789101112131415
  1. module Main where
  2. import Options.Applicative
  3. import Data.Semigroup ((<>))
  4. import Parsing (argHandle, arguments)
  5. main :: IO ()
  6. main = argHandle =<< execParser opts
  7. where
  8. opts = info (arguments <**> helper)
  9. ( fullDesc
  10. <> progDesc "Generate hexadecimal Pi digits.")