Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Both System.Console.GetOpt and Optparse.Applicative do not have built-in support for number or enumeration arguments. But there is usually a lot to check, e.g. whether numbers are positive, not too big, etc. We provide argument parsers here in a way that can be used in all command-line parsing libraries.