úÎ!Ș=Ąó†      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„… Safe†‡ˆ‰Š‹ŒNone&'=?SXk#&yamlparse-applicative#A parser that takes values of type i. as input and parses them into values of type oNote that there is no Ž instance.yamlparse-applicativeReturn the input yamlparse-applicative#Parse via an extra parsing function yamlparse-applicativeMatch an exact value yamlparse-applicativeParse  only. yamlparse-applicativeParse  as  and the rest as ‘. yamlparse-applicativeParse a boolean valueyamlparse-applicativeParse a String valueyamlparse-applicativeParse a numeric valueyamlparse-applicativeParse an arrayyamlparse-applicativeParse an objectyamlparse-applicative,Parse a list of elements all in the same wayyamlparse-applicative,Parse a map where the keys are the yaml keysyamlparse-applicative%Parse a map's keys via a given parseryamlparse-applicativeParse a field of an objectyamlparse-applicative A pure valueyamlparse-applicativeTo implement Functoryamlparse-applicativeTo implement Applicativeyamlparse-applicativeTo implement Alternativeyamlparse-applicativeTAdd comments to the parser. This info will be used in the schema for documentation.yamlparse-applicative"Declare a parser of a named objectyamlparse-applicative%Declare a parser of an unnamed objectPrefer  if you can.yamlparse-applicativeParse a string-like thing by ’-ing itYou probably don't want to use ’.yamlparse-applicative%Declare a parser for an exact string.?You can use this to parse a constructor in an enum for example: data Fruit = Apple | Banana instance YamlSchema Fruit where yamlSchema = Apple <$ literalString "Apple" <|> Banana <$ literalString "Banana"yamlparse-applicative4Declare a parser for a value using its show instanceXNote that no value is read. The parsed string is just compared to the shown given value.AYou can use this to parse a constructor in an enum when it has a “ instance. For example: Ûdata Fruit = Apple | Banana | Melon deriving (Show, Eq) instance YamlSchema Fruit where yamlSchema = alternatives [ literalShowString Apple , literalShowString Banana , literalShowString Melon ] yamlparse-applicative4Declare a parser for a value using its show instanceXNote that no value is read. The parsed string is just compared to the shown given value.AYou can use this to parse a constructor in an enum when it has a ToJSON instance. For example ædata Fruit = Apple | Banana | Melon deriving (Eq, Generic) instance ToJSON Fruit instance YamlSchema Fruit where yamlSchema = alternatives [ literalValue Apple , literalValue Banana , literalValue Melon ]!yamlparse-applicative4Use the first parser of the given list that succeeds3You can use this to parse a constructor in an enum. For example: Ûdata Fruit = Apple | Banana | Melon instance YamlSchema Fruit where yamlSchema = alternatives [ Apple <$ literalString "Apple" , Banana <$ literalString "Banana" , Melon <$ literalString "Melon" ]"yamlparse-applicativeAdd a comment to a parser7This info will be used in the schema for documentation. For example: Ÿdata Result = Error | Ok instance YamlSchema Result where yamlSchema = alternatives [ Error <$ literalString "Error" <?> "An error" , Ok <$ literalString "Ok" <?> "Oll Klear" ]#yamlparse-applicative+Add a list of lines of comments to a parser7This info will be used in the schema for documentation. For example: ÿ data Result = Error | Ok instance YamlSchema Result where yamlSchema = alternatives [ Error <$ literalString "Error" <??> ["Just an error", "but I've got a lot to say about this"] , Ok <$ literalString "Ok" <??> ["Oll Klear", "I really don't know where 'OK' comes from?!"] ]$yamlparse-applicativeXA parser for a required field at a given key with a parser for what is found at that key%yamlparse-applicativelA parser for a required field at a given key with a parser for what is found at that key without a help text&yamlparse-applicativeYA parser for an optional field at a given key with a parser for what is found at that key'yamlparse-applicativemA parser for an optional field at a given key with a parser for what is found at that key without a help text(yamlparse-applicativemA parser for an optional field at a given key with a default value and a parser for what is found at that keyFFor the sake of documentation, the default value needs to be showable.)yamlparse-applicativeA parser for an optional field at a given key with a default value and a parser for what is found at that key without a help textFFor the sake of documentation, the default value needs to be showable.*yamlparse-applicativeHMake a parser that parses a value using the given extra parsing functionOYou can use this to make a parser for a type with a smart constructor. Prefer +- if you can so you get better error messages.Example: parseUsername :: Text -> Maybe Username instance YamlSchema Username where yamlSchema = maybeParser parseUsername yamlSchema+yamlparse-applicativeHMake a parser that parses a value using the given extra parsing function\You can use this to make a parser for a type with a smart constructor. If you don't have a “ instance for your o, then you can use , instead.Example: ˆparseUsername :: Text -> Either String Username instance YamlSchema Username where yamlSchema = eitherParser parseUsername yamlSchema,yamlparse-applicativeHMake a parser that parses a value using the given extra parsing functionOYou can use this to make a parser for a type with a smart constructor. Prefer +* if you can, use this if you don't have a “ instance for your o. yamlparse-applicative/Shown version of the o in the previous argumentyamlparse-applicativeŠExtra info about what the string represents This info will be used during parsing for error messages and in the schema for documentation.yamlparse-applicativeŠExtra info about what the number represents This info will be used during parsing for error messages and in the schema for documentation.yamlparse-applicative‰Extra info about what the array represents This info will be used during parsing for error messages and in the schema for documentation.yamlparse-applicativeŠExtra info about what the object represents This info will be used during parsing for error messages and in the schema for documentation.yamlparse-applicativeThe key of the field-  !"#$%&'()*+,-  !"#$%&'()*+,None &'=?SX_oŽ0yamlparse-applicativeUse a  to parse a value from Yaml.lA 'Parser i o' corresponds exactly to a 'i -> Yaml.Parser o' and this function servers as evidence for that.00None &'7=?SX_sšCyamlparse-applicativeEUse a parser to produce a schema that describes it for documentation.ENothing means that nothing even needs to be parsed, you just get the a, without parsing anything. This is for the ” case.1BA@?>=<;:98765432C1BA@?>=<;:98765432CNone &'7=?SX‘Ž Hyamlparse-applicativeCA helper newtype to parse a yaml value using the YamlSchema parser.Example: jcase Data.Yaml.decodeEither' contents of Left e -> die $ show e Right (ViaYamlSchema res) -> print res>This only helps you when you really don't want to implement a FromJSON instance. See V if you do.Jyamlparse-applicative8A class of types for which a schema for keys is defined.Lyamlparse-applicative/A class of types for which a schema is defined.ÌNote that you do not have to use this class and can just use your own parser values. Note also that the parsing of a type of this class should correspond to the parsing of the type in the FromJSON class.Myamlparse-applicativeA yamlschema for one valueRSee the sections on helper functions for implementing this for plenty of examples.Nyamlparse-applicative!A yamlschema for a list of values*This is really only useful for cases like • and –Pyamlparse-applicative9A parser for a required field in an object at a given keyQyamlparse-applicativeMA parser for a required field in an object at a given key without a help textRyamlparse-applicative:A parser for an optional field in an object at a given keySyamlparse-applicativeNA parser for an optional field in an object at a given key without a help textTyamlparse-applicativeOA parser for an optional field in an object at a given key with a default valueUyamlparse-applicativecA parser for an optional field in an object at a given key with a default value without a help textVyamlparse-applicativeHelper function to implement FromJSON via LExample: :instance FromJSON Config where parseJSON = viaYamlSchemaWyamlparse-applicativeÈThere is no instance using YamlKeySchema k yet. Ideally there wouldn't be one for HashMap Text either because it's insecure, but the yaml arrives in a HashMap anyway so we might as well expose this.HIJKLNMOPQRSTUVLNMJKOPQRSTUVHINone &'=?SX_—.xyamlparse-applicativeA list of comments{yamlparse-applicativeRender a schema as pretty text.GThis is meant for humans. The output may look like YAML but it is not.|yamlparse-applicative No comments}yamlparse-applicativeA raw text as comments~yamlparse-applicativePrettyprint a 1xyz{|}~{xyz|}~None &'=?SX›ć‚yamlparse-applicative6Helper function to add the schema documentation for a L/ parser to the optparse applicative help outputƒyamlparse-applicativejHelper function to add the schema documentation for a given parser to the optparse applicative help output‚ƒ‚ƒNone &'=?SX_žù„yamlparse-applicative4Helper function to read a config file for a type in L…yamlparse-applicative;Helper function to read the first in a list of config files„…„… None&'=?SXŸN  !"#$%&'()*+,0123456789:;<=>?@ABCHIJKLMNPQRSTUV{‚„…NLMNJK*+,"#PQ$%RS&'TU() ! VHI0C123456789:;<=>?@AB{‚„…—     !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜–™š–›œ–›–žŸ– Ą–—ąŁ€„–—Ч4yamlparse-applicative-0.1.0.0-DawzfhsbGvn7WEvIXnPzJdYamlParse.Applicative.ParserYamlParse.Applicative.ImplementYamlParse.Applicative.ExplainYamlParse.Applicative.ClassYamlParse.Applicative.PrettyYamlParse.Applicative.OptParseYamlParse.Applicative.IOPaths_yamlparse_applicativeYamlParse.Applicative KeyParser ObjectParser YamlParser FieldParserFieldParserRequiredFieldParserOptionalFieldParserOptionalWithDefaultParserParseAny ParseExtraParseEq ParseNull ParseMaybe ParseBool ParseString ParseNumber ParseArray ParseObject ParseListParseMap ParseMapKeys ParseField ParsePure ParseFmapParseApParseAlt ParseComment objectParserunnamedObjectParserviaRead literalStringliteralShowValue literalValue alternativesrequiredFieldWithrequiredFieldWith'optionalFieldWithoptionalFieldWith'optionalFieldWithDefaultWithoptionalFieldWithDefaultWith' maybeParser eitherParser extraParser$fAlternativeParser$fApplicativeParser$fFunctorParserimplementParserSchema EmptySchema AnySchema ExactSchema NullSchema MaybeSchema BoolSchema NumberSchema StringSchema ArraySchema ObjectSchema FieldSchema ListSchema MapSchema MapKeysSchemaApSchema AltSchema CommentSchema explainParser$fValiditySchema $fShowSchema $fEqSchema$fGenericSchema ViaYamlSchema YamlKeySchema yamlKeySchema YamlSchema yamlSchemayamlSchemaListboundedIntegerSchema requiredFieldrequiredField' optionalFieldoptionalField'optionalFieldWithDefaultoptionalFieldWithDefault' viaYamlSchema$fYamlSchemaHashMap$fYamlSchemaSet$fYamlSchemaNonEmpty$fYamlSchema[]$fYamlSchemaVector$fYamlSchemaMaybe$fYamlSchemaValue$fYamlSchemaPath$fYamlSchemaPath0$fYamlSchemaPath1$fYamlSchemaPath2$fYamlSchemaWord64$fYamlSchemaWord32$fYamlSchemaWord16$fYamlSchemaWord8$fYamlSchemaWord$fYamlSchemaInt64$fYamlSchemaInt32$fYamlSchemaInt16$fYamlSchemaInt8$fYamlSchemaInt$fYamlSchemaScientific$fYamlSchemaText$fYamlSchemaChar$fYamlSchemaBool$fYamlSchema()$fYamlSchemaMap$fYamlKeySchema[]$fYamlKeySchemaText$fFromJSONViaYamlSchema$fShowViaYamlSchema$fEqViaYamlSchema$fGenericViaYamlSchemaComments commentsList prettySchema emptyCommentscomment schemaDoc$fMonoidComments$fSemigroupComments$fShowCommentsconfDesc confDescWithreadConfigFilereadFirstConfigFileversion getBinDir getLibDir getDynLibDir getDataDir getLibexecDir getSysconfDirgetDataFileNamebaseGHC.BaseMonad Data.Foldablenull GHC.MaybeNothingJustGHC.ReadReadGHC.ShowShowpureghc-prim GHC.TypesCharString