úÎ!b]?@ABC Safe&'ÎDEFSafe ,=>?@AHVX_yGHSafe2=?« lambda-options Convenience  creation class.lambda-optionsAn option keyword, such as "--help"lambda-options!All the aliases for this keyword.lambda-optionsCText to describe the arguments to the option given by this keyword.lambda-optionsBText to describe the function of the option given by this keyword.lambda-optionsShorthand for .lambda-options Sets the 1 field in the keyword. Intended to be used infix: =kw "--directory" `argText` "DIR" `text` "Write files to DIR." lambda-options Sets the 1 field in the keyword. Intended to be used infix. /kw "--quiet" `text` "Suppress message display." lambda-optionsUsed to create an empty  with no aliases. lambda-optionsUsed to create a  with many (or no) aliases lambda-optionsUsed to create a  with a single alias.lambda-optionsIdentiy mapping.   Safe_lambda-options"User configuration for formatting.lambda-options6Formats the given string with the given configuration.lambda-options8Formats the given keywords with the given configuration.lambda-options !FormatConfig { fmtMaxWidth = 80 }Safe=>?_-@ lambda-options1Class describing parseable values. Much like the I class.lambda-optionsGiven a sequence of strings,  returns JE and the number of strings consumed if the parse failed. Otherwise,  returns K5 the parsed value and the number of strings consumed.bElement-wise, an entire string must be parsed in the sequence to be considered a successful parse.lambda-options?Turns a parser of a single string into a parser suitable for a  instance.Useful for implementing a  for a type with a I instance by supplying L to this function.Note: The string is not@ tokenized in any way before being passed into the input parser. lambda-optionsRepeatedly applies 5 the given number of times, accumulating the results.$Useful for implementing new parsers.Example: Îdata Point = Point Float Float Float instance Parseable Point where parse strs = case repeatedParse 3 strs of (Just [x,y,z], n) -> (Just (Point x y z), n)` (Nothing, n) -> (Nothing, n) #lambda-options-Always succeeds and never consumes any input.$lambda-options>Greedily parses a single argument or no argument. Never fails.%lambda-options Parses a M using its I instance.&lambda-optionsIdentity parser. Ex: parse "abc" == (Just "abc", 1)'lambda-options!Parses a single character string.(lambda-options Parses an N using its I instance.)lambda-options Parses an O using its P instance.*lambda-options Parses a Q using its P instance.  Safe21ˆ+lambda-optionsA simple wrapper over [a]*. Used to avoid overlapping instances for  Parseable [a] and Parseable String.lambda-options<Greedily parses arguments item-wise. Never fails. Example: 3parse (words "5 67 NaN") == (Just (List [5,67]), 2)+,-+,-Safe ,=>?@AHVX26RSTSafe,2>@AX_\"4lambda-optionsPContains information about what went wrong during an unsuccessful options parse.9lambda-optionsA monad for parsing options.:lambda-optionsDescribes the callback f/ to be called for a successfully parsed option.The function (or value) f= can have any arity and ultimately returns a value with type r2Each of the callback's arguments must have a type t which implements   and U.2Think of this as the following constraint synonym: Ytype OptionCallback r f = (f ~ (Parseable t*, Typeable t*) => t0 -> t1 -> ... -> tN -> r)Example callbacks: ÿ%f0 = putStrLn "Option parsed!" :: IO () f1 = put :: String -> State String () f2 = liftIO . print :: (MonadIO m) => Int -> m () f3 name year ratio = lift (print (name, year, ratio)) :: (MonadTrans m) => String -> Int -> Float -> m IO () f4 = 7 :: Int f5 = (:) :: Double -> [Double] -> [Double];lambda-options|Tries to parse the supplied options against input arguments. If successful, parsed option callback results are returned in V. Otherwise an 4 is returned in W.Example program: ÿúimport System.Environment import Text.LambdaOptions options :: Options (IO ()) () options = do addOption (kw ["--help", "-h"] `text` "Display this help text.") $ do putStrLn "Usage:" putStrLn $ getHelpDescription options addOption (kw "--user" `argText` "NAME" `text` "Prints name.") $ \name -> do putStrLn $ "Name:" ++ name addOption (kw "--user" `argText` "NAME AGE" `text` "Prints name and age.") $ \name age -> do putStrLn $ "Name:" ++ name ++ " Age:" ++ show (age :: Int) main :: IO () main = do args <- getArgs case runOptions options args of Left e -> do putStrLn $ parseFailedMessage e putStrLn $ getHelpDescription options Right actions -> sequence_ actions5example.exe --user HaskellCurry 81 --user GraceHopperName:HaskellCurry Age:81Name:GraceHopperexample.exe -hUsage:3-h, --help Display this help text.( --user NAME Prints name.0 --user NAME AGE Prints name and age."example.exe --user Pythagoras LXXV!Unknown option at index 2: `LXXV'Usage:3-h, --help Display this help text.( --user NAME Prints name.0 --user NAME AGE Prints name and age.<lambda-options Adds the supplied option to the Options m a () context.“If the keyword is matched and the types of the callback's parameters can successfully be parsed, the callback is called with the parsed arguments.=lambda-options9Produces the help description given by the input options.>lambda-options Produces the "s inserted into the input options. 456789:;<=> ;945678:<=> Safe\°"  +,-456789:;<=>X     !"#$% &'()*+,-./01233456789:;<=>?@ABCDEFGHIJKLLMNOPQORSORTOUVWXYZ[\WX]^_`WXabcdOefOghOgij-lambda-options-1.0.0.0-48iNPX0l9MXCz0E2rRvy96Text.LambdaOptions.KeywordText.LambdaOptions.FormatterText.LambdaOptions.ParseableText.LambdaOptions.ListText.LambdaOptions.Core"Text.LambdaOptions.Internal.Opaque Text.LambdaOptions.Internal.Wrap(Text.LambdaOptions.Internal.OpaqueParser ParseableText.LambdaOptions ToKeyword toKeywordKeywordkwNames kwArgTextkwTextkwargTexttext$fIsStringKeyword $fToKeyword() $fToKeyword[]$fToKeyword[]0$fToKeywordKeyword $fDataKeyword $fShowKeyword $fEqKeyword $fOrdKeyword FormatConfig fmtMaxWidthformatformatKeywordsdefaultFormatConfig$fShowFormatConfig$fReadFormatConfig$fEqFormatConfig$fOrdFormatConfigparse simpleParse repeatedParse$fParseable(,,)$fParseable(,) $fParseable()$fParseableMaybe$fParseableFloat $fParseable[]$fParseableChar$fParseableInteger$fParseableInt$fParseableWordListunList$fParseableList $fDataList $fShowList $fReadList$fEqList $fOrdList OptionsError ParseFailedparseFailedMessageparseFailedBeginArgsIndexparseFailedEndArgsIndexOptionsOptionCallback runOptions addOptiongetHelpDescription getKeywords$fMonadStateOptionsStateOptions$fMonadOptions$fApplicativeOptions$fFunctorOptions$fShowOptionsErrorOpaqueCallbackOpaqueWrapwrapbaseGHC.ReadRead GHC.MaybeNothingJust Text.Read readMaybeghc-prim GHC.TypesFloat integer-gmpGHC.Integer.TypeIntegerInt+read-bounded-0.1.1.2-IvQxIbgE8wlINi6FkiMdakText.Read.Bounded ReadBoundedWordGetOpaqueParsers OpaqueParsergetOpaqueParsersData.Typeable.InternalTypeable Data.EitherRightLeft