}/;      !"#$%&'()*+,-./0123456789:Safe+35?2 instance for opening a file from its string name.Function to open the file9Type of values that can be parsed by the argument parser.+Fetch an argument's value if it is present. 'Fetch the value of a required argument. JClass for building parse control information, for backward compatibility. ;Record containing the collective parse control information.Level of completeness of parse.Handling of dashes in parse.Whether to always treat an unknown argument beginning with "-" as an error, or to allow it to be used as a positional argument when possible.wIf an argument begins with a "-", it will always be treated as an error unless it corresponds to a flag description.If an argument beginning with a "-" is unrecognized as a flag, treat it as a positional argument if possible. Otherwise it is an error.How "sloppy" the parse is.XAny extraneous arguments (unparseable from description) will cause the parser to fail.Trailing extraneous arguments are permitted, and will be skipped, saved, and returned. The constructor argument is the name of the args.SAll extraneous arguments are permitted, and will be skipped, saved, and returned.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 /D produces. There is a hidden field that describes the actual parse.;The argument map.Basename of 0th argument.Full usage string. Remaining unprocessed arguments.<5The type of the mapping from argument index to value.=+The "kinds of values" an argument can have.>(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.ADatum is not required.dThe types of an argument carrying data. The constructor argument is used to carry a default value.The constructor argument should really be hidden. Values of this type are normally constructed within the pseudo-constructors pseudo-constructors +, ,, and -;, to which only the constructor function itself is passed.$MThe description of an argument, suitable for messages and for parsing. The )X field is used both for flags with a data argument, and for positional data arguments.There are two cases: ;The argument is a flag, in which case at least one of ' and ( is provided;7The argument is positional, in which case neither ' nor ( are provided, but ) is. If none of ', (, or )1 are provided, this is an error. See also the +, ,, and -. functions below, which are used to generate ).&7Connects 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., Generate the )1 for the given optional argument with no default.- Generate the )9 for the given optional argument with the given default.B-True if the described argument is positional.C)True if the described argument is a flag.D+True if the described argument is optional.E)Return the value of a defaulted argument.F)There's probably a better way to do this.G*Format the described argument as a string.H%Filter out the empty keys for a hash.IGFail with an error if the argument description is bad for some reason.JMake a keymap.K-Make a keymap for looking up a flag argument.L The iteration function is given a state and a list, and expected to produce a new state and list. The function is again invoked with the resulting state and list. When the supplied function returns the empty list, this function returns the final state produced..CGenerate a usage error with the given supplementary message string./&Given a description of the arguments, /Z 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, then 2) positional arguments; otherwise a runtime error will be thrown.0wMost of the time, you just want the environment's arguments and are willing to live in the IO monad. This version of /= digs the pathname and arguments out of the system directly.1ICheck whether a given optional argument was supplied. Works on all types.2  Deprecated Return the M& value, if any, of the given argument.3  Deprecated Return the N& value, if any, of the given argument.4  Deprecated Return the O& value, if any, of the given argument.5  Deprecated Return the P& value, if any, of the given argument.6  Deprecated Return the Q& value, if any, of the given argument.7  Deprecated Treat the MX value, if any, of the given argument as a file handle and try to open it as requested.8 Treat the M value, if any, of the given argument as a file handle and try to open it as requested. If not present, substitute the appropriate one of stdin or stdout as indicated by .9Return the filename part of a pathname. Unnecessarily efficient implementation does a single tail-call traversal with no construction.:CGenerate a usage error with the given supplementary message string.^Parsed arguments."Index of argument to be retrieved.Argument value if present. Parsed arguments."Index of argument to be retrieved.Argument value. R;<S=>TUVWXY?@A !"#$%&'()*+Datum print name.Type constructor for datum. Result is )-ready.,Datum print name.Type constructor for datum. Result is )-ready.-Datum print name.Type constructor for datum.Datum default value. Result is )-ready.B Argument.True if argument is positional.C Argument.True if argument is a flag.D Argument.,False if argument is required to be present.Z Argument.+True if argument is required to be present.E Argument.Optional default value.FGArgument to be described.String describing argument.H$List of (optional key, value) pairs.Pairs with actual keys.IError message.Bogus polymorphic result.J=List of key-value pairs. Will be checked for duplicate keys.Key-value map.K!Mapping from argdesc to flag key.List of argdesc.Map from key to argdesc.LFunction to iterate.Initial state. Initial list. Final state..Usage message.Specific error message.Bogus polymorphic result./Configuration for parse.Argument descriptions.Full program pathname.Incoming program argument list. Outgoing argument parse results.0 Degree of completeness of parse.Argument descriptions.Argument parse results.1Parsed arguments.$Index of argument to be checked for.True if the arg was present.[2Parsed arguments."Index of argument to be retrieved.Argument value if present.3Parsed arguments."Index of argument to be retrieved.Argument value if present.4Parsed arguments."Index of argument to be retrieved.Argument value if present.5Parsed arguments."Index of argument to be retrieved.Argument value if present.6Parsed arguments."Index of argument to be retrieved.Argument value if present.7Parsed arguments."Index of argument to be retrieved.%IO mode the file should be opened in.4Handle of opened file, if the argument was present.8Parsed arguments."Index of argument to be retrieved.3IO mode the file should be opened in. Must not be \.Appropriate file handle.9 Pathname. Rightmost component of pathname.:]^_`abcdefg;  !"#$%&'()*+,-./0123456789:;$%&'()* !"# +,-/01 27834569.:5   R;<S=>TUVWXY?@A !"#$%&'()*+,-BCDZEFGHIJKL./01[23456789:]^_`abcdefgh      !"#$$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSQRTQRU;VWXYZ[\]^_`abcdefghiparse_DbSCttyaYZQ8JOKVdLZjVySystem.Console.ParseArgsbase GHC.IO.IOMode AppendMode WriteModeReadModeIOMode ArgFileOpener argFileOpenerArgTypegetArggetRequiredArgAPCData getAPCDataArgsParseControl apcCompleteapcDashArgsDash ArgsHardDash ArgsSoftDash ArgsComplete ArgsTrailingArgsInterspersedParseArgsExceptionArgs argsProgName argsUsageargsRestDataArgArgtype ArgtypeStringArgtypeInteger ArgtypeInt ArgtypeDouble ArgtypeFloatArgargIndexargAbbrargNameargDataargDescargDataRequiredargDataOptionalargDataDefaulted parseError parseArgs parseArgsIOgotArg getArgString getArgInteger getArgInt getArgDouble getArgFloat getArgFile getArgStdiobaseName usageErrorargs ArgRecordArgval ArgvalFlag dataArgNamedataArgArgtypedataArgOptionalarg_posnarg_flag arg_optionalarg_default_valueperhaps arg_string filter_keys argdesc_errorkeymap_from_list make_keymapexhaustGHC.BaseString integer-gmpGHC.Integer.TypeIntegerghc-prim GHC.TypesIntDoubleFloat ArgvalString ArgvalInteger ArgvalInt ArgvalDouble ArgvalFloat arg_requiredgetArgPrimitive ReadWriteMode$fArgTypeArgFileOpener$fArgTypeFloat$fArgTypeDouble $fArgTypeInt$fArgTypeInteger $fArgType[] $fArgType()$fAPCDataArgsComplete$fAPCDataArgsParseControl$fShowParseArgsException$fExceptionParseArgsException