hskeleton-0.1.1: Skeleton for new Haskell programs

System.Console.GetOpt.Skeleton

Synopsis

Documentation

parseArgs :: Version -> [OptDescr a] -> ([a] -> b) -> (b -> Maybe StandardFlag) -> [String] -> IO bSource

  • basic* command-line argument parsing - you may wish to write your own parseArgs, based on the source code of this one.

mParseArgs :: Monoid b => Version -> [OptDescr (b -> b)] -> (b -> Last StandardFlag) -> [String] -> IO bSource

Special version of parseArgs for monoids