úÎw¶s‘5      !"#$%&'()*+,-./01234G3 instance for opening a file from its string name. Function to open the file :Type of values that can be parsed by the argument parser. Fetch an argument's value if it is present. Parsed arguments. #Index of argument to be retrieved. Argument value if present. * |Fetch the value of a required argument. Parsed arguments. #Index of argument to be retrieved. Argument value. How "sloppy" the parse is. All extraneous arguments are ! permitted, and will be skipped,  saved, and returned. "Trailing extraneous arguments are ! permitted, and will be skipped,  saved, and returned. The  constructor argument is the  name of the args. Any extraneous arguments  (unparseable from description)  will cause the parser to fail. ;This exception is raised with an appropriate error message ? when argument parsing fails. The first argument is the usage ? message, the second the actual error message from the parser. The data structure ) produces. The key  element is the  . The argument map. Basename of 0th argument. Full usage string. !Remaining unprocessed arguments. 6The type of the mapping from argument index to value. 56The "kinds of values" an argument can have. 789:;<)For simple present vs not-present flags. <Information specific to an argument carrying a datum. This > is an opaque type, whose instances are constructed using the  pseudo-constructors %, &,  and '. =>Print name of datum. ?Type of datum. @Datum is not required. 9The types of an argument carrying data. The constructor , argument is used to carry a default value. 2The constructor argument should really be hidden. 5 Values of this type are normally constructed within - the pseudo-constructors pseudo-constructors  %, &, and  ' , to which only the constructor  function itself is passed. -The description of an argument, suitable for  messages and for parsing. The # field 2 is used both for flags with a data argument, and  for positional data arguments. There are two cases:  0 The argument is a flag, in which case at least  one of ! and " is provided; 3 The argument is positional, in which case neither  ! nor " are provided, but # is.  If none of !, ", or # are + provided, this is an error. See also the  %, &, and  '$ functions below, which are used to  generate #.  Connects the input description  to the output argument. !One-character flag name. "" Long name" of flag. #Datum description. $ Documentation for the argument. % Generate the #& for the given non-optional argument. Datum print name. Type constructor for datum.  Result is #-ready. & Generate the #2 for the given optional argument with no default. Datum print name. Type constructor for datum.  Result is #-ready. ' Generate the #* for the given optional argument with the  given default. Datum print name. Type constructor for datum. Datum default value.  Result is #-ready. A.True if the described argument is positional.  Argument.  True if argument is positional. B*True if the described argument is a flag.  Argument. True if argument is a flag. C,True if the described argument is optional.  Argument. -False if argument is required to be present. D*Return the value of a defaulted argument.  Argument. Optional default value. EThere'$s probably a better way to do this. +Format the described argument as a string. Argument to be described. String describing argument. F&Filter out the empty keys for a hash. %List of (optional key, value) pairs. Pairs with actual keys. G6Fail with an error if the argument description is bad  for some reason. Error message. Bogus polymorphic result. HMake a keymap. List of key-value pairs. % Will be checked for duplicate keys. Key-value map. I.Make a keymap for looking up a flag argument. "Mapping from argdesc to flag key. List of argdesc. Map from key to argdesc. J8The iteration function is given a state and a list, and 9 expected to produce a new state and list. The function 5 is again invoked with the resulting state and list. + When the function returns the empty list, J returns  the final state produced. Function to iterate. Initial state. Initial list.  Final state. (DGenerate a usage error with the given supplementary message string. Usage message. Specific error message. Bogus polymorphic result. )&Given a description of the arguments, ) produces # a map from the arguments to their "values" and some other  useful byproducts. ) requires that the argument @ descriptions occur in the order 1) flag arguments, 2) required C positional arguments, 3) optional positional arguments; otherwise ! a runtime error will be thrown. !Degree of completeness of parse. Argument descriptions. Full program pathname.  Incoming program argument list. !Outgoing argument parse results. */Most of the time, you just want the environment's 4 arguments and are willing to live in the IO monad.  This version of )! digs the pathname and arguments  out of the system directly. !Degree of completeness of parse. Argument descriptions. Argument parse results. +JCheck whether a given optional argument was supplied. Works on all types. Parsed arguments. %Index of argument to be checked for. True if the arg was present. ,  Deprecated Return the K' value, if any, of the given argument. Parsed arguments. #Index of argument to be retrieved. Argument value if present. -  Deprecated Return the L' value, if any, of the given argument. Parsed arguments. #Index of argument to be retrieved. Argument value if present. .  Deprecated Return the M' value, if any, of the given argument. Parsed arguments. #Index of argument to be retrieved. Argument value if present. /  Deprecated Return the N' value, if any, of the given argument. Parsed arguments. #Index of argument to be retrieved. Argument value if present. 0  Deprecated Return the O' value, if any, of the given argument. Parsed arguments. #Index of argument to be retrieved. Argument value if present. 1  Deprecated Treat the K) value, if any, of the given argument as 0 a file handle and try to open it as requested. Parsed arguments. #Index of argument to be retrieved. &IO mode the file should be opened in. 'Handle of opened file, if the argument  was present. 2 Treat the K+ value, if any, of the given argument as a 6 file handle and try to open it as requested. If not 5 present, substitute the appropriate one of stdin or  stdout as indicated by . Parsed arguments. #Index of argument to be retrieved. &IO mode the file should be opened in.  Must not be P. Appropriate file handle. 3(Return the filename part of a pathname. 6 Unnecessarily efficient implementation does a single + tail-call traversal with no construction.  Pathname. !Rightmost component of pathname. 4DGenerate a usage error with the given supplementary message string. 5  !"#$%&'()*+,-./012345 !"#$ %&')*+ ,12-./03(41    !"#$ !"#$%&'()*+,-./01234Q       !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOMNPMNQRSparseargs-0.1.3.1System.Console.ParseArgsbase GHC.IO.IOModeReadMode WriteMode AppendModeIOMode ArgFileOpener argFileOpenerArgTypegetArggetRequiredArg ArgsCompleteArgsInterspersed ArgsTrailingParseArgsExceptionArgsargs argsProgName argsUsageargsRest ArgRecordDataArgArgtype ArgtypeFloat ArgtypeDouble ArgtypeIntArgtypeInteger ArgtypeStringArgargIndexargAbbrargNameargDataargDescargDataRequiredargDataOptionalargDataDefaulted parseError parseArgs parseArgsIOgotArg getArgString getArgInteger getArgInt getArgDouble getArgFloat getArgFile getArgStdiobaseName usageErrorArgval ArgvalFloat ArgvalDouble ArgvalInt ArgvalInteger ArgvalString ArgvalFlag dataArgNamedataArgArgtypedataArgOptionalarg_posnarg_flag arg_optionalarg_default_value arg_string filter_keys argdesc_errorkeymap_from_list make_keymapexhaustGHC.BaseString integer-gmpGHC.Integer.TypeIntegerghc-prim GHC.TypesIntDoubleFloat ReadWriteMode