Apocrypha

simpleargs

Provides a more flexible getArgs function with better error reporting

The provided getArgs returns an arbitrary tuple of values instead of a list of Strings. This means that the number and type (i.e. parseability) of parameters are checked, and reported to the user. The module is not a substitute for proper error handling (use "System.Console.GetOpt" for that), but is useful for making quick and dirty command line tools a bit less dirty, without sacrificing the quick part.

Available in

OverlayNewestEbuildsLast activity
haskell GitHub ↗ 0.2.1 1 2 d details ›

Versions & arches

VersionOverlay amd64 Committed
0.2.1 haskell amd64 testing 6 mo view · download · history ↗