Îõ³h$3./­•      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”  Safe-Inferredœ•–—˜™š›œNone '(>ÀÔÙW&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-applicativeÔAdd 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 instanceØNote that no value is read. The parsed string is just compared to the shown given value.ÁYou 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 instanceØNote that no value is read. The parsed string is just compared to the shown given value.ÁYou 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-applicativeØA parser for a required field at a given key with a parser for what is found at that key&yamlparse-applicativeìA parser for a required field at a given key with a parser for what is found at that key without a help text'yamlparse-applicativeÙA parser for an optional field at a given key with a parser for what is found at that key(yamlparse-applicativeíA parser for an optional field at a given key with a parser for what is found at that key without a help text)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ÆFor the sake of documentation, the default value needs to be showable.*yamlparse-applicativeA 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 textÆFor the sake of documentation, the default value needs to be showable.+yamlparse-applicativeÈMake 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. Prefer ,- if you can so you get better error messages.Example: ÿparseUsername :: Text -> Maybe Username instance YamlSchema Username where yamlSchema = maybeParser parseUsername yamlSchema,yamlparse-applicativeÈMake 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-applicativeÈMake 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. 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  '(>ÀÔÙà•4yamlparse-applicativeUse a  to parse a value from Yaml.ìA 'Parser i o' corresponds exactly to a 'i -> Yaml.Parser o' and this function servers as evidence for that.234234None '(8>ÀÔÙà´Gyamlparse-applicativeÅUse a parser to produce a schema that describes it for documentation.ÅNothing means that nothing even needs to be parsed, you just get the a, without parsing anything. This is for the £ case.5FEDCBA@?>=<;:9876G5FEDCBA@?>=<;:9876GNone '(8>ÀÔÙ'¸ Lyamlparse-applicativeÃA helper newtype to parse a yaml value using the YamlSchema parser.Example: êcase 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 Z if you do.Nyamlparse-applicative8A class of types for which a schema for keys is defined.Pyamlparse-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.Qyamlparse-applicativeA yamlschema for one valueÒSee the sections on helper functions for implementing this for plenty of examples.Ryamlparse-applicative!A yamlschema for a list of values*This is really only useful for cases like ¤ and ¥Tyamlparse-applicative9A parser for a required field in an object at a given keyUyamlparse-applicativeÍA parser for a required field in an object at a given key without a help textVyamlparse-applicative:A parser for an optional field in an object at a given keyWyamlparse-applicativeÎA parser for an optional field in an object at a given key without a help textXyamlparse-applicativeÏA parser for an optional field in an object at a given key with a default valueYyamlparse-applicativeãA parser for an optional field in an object at a given key with a default value without a help textZyamlparse-applicativeHelper function to implement FromJSON via PExample: :instance FromJSON Config where parseJSON = viaYamlSchema[yamlparse-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.LMNOPRQSTUVWXYZPRQNOSTUVWXYZLMNone  '(>ÀÔÙàì,W |yamlparse-applicativeA list of comments…yamlparse-applicative&Render pretty documentation about the Q of a typeÇThis is meant for humans. The output may look like YAML but it is not.†yamlparse-applicative*Render pretty documentation about a parserÇThis is meant for humans. The output may look like YAML but it is not.‡yamlparse-applicative1Render pretty colourised documentation about the Q of a typeÇThis is meant for humans. The output may look like YAML but it is not.ˆyamlparse-applicative5Render pretty colourised documentation about a parserÇThis is meant for humans. The output may look like YAML but it is not.‰yamlparse-applicativeRender a schema as pretty text.ÇThis is meant for humans. The output may look like YAML but it is not.Šyamlparse-applicative.Render a schema as pretty and colourised text.ÇThis is meant for humans. The output may look like YAML but it is not.‹yamlparse-applicative No commentsŒyamlparse-applicativeA raw text as commentsyamlparse-applicativePrettyprint a 5|}~„ƒ€‚…†‡ˆ‰Š‹Œ„ƒ€‚…†‡ˆ‰Š|}~‹ŒNone '(>ÀÔÙ-Ñ‘yamlparse-applicative6Helper function to add the schema documentation for a P/ parser to the optparse applicative help output’yamlparse-applicativeêHelper function to add the schema documentation for a given parser to the optparse applicative help output‘’‘’None  '(>ÀÔÙà.±“yamlparse-applicative4Helper function to read a config file for a type in P”yamlparse-applicative;Helper function to read the first in a list of config files“”“” None'(>ÀÔÙ.áÙ  !"#$%&'()*+,-456789:;<=>?@ABCDEFGLMNOPQRTUVWXYZ…†‡ˆ‰Š‘’“”ÙPQRNO+,-#$TU%&VW'(XY)*! " ZLM4…†‡ˆG56789:;<=>?@ABCDEF‰Š‘’“”¦     !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„……†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¥¨©¥ª«¥ª¬¥­®¥¯°¥¦±²³´¥¦µ¶4yamlparse-applicative-0.2.0.1-1uPqPozBoBO1cU6nvRn5zoYamlParse.Applicative.ParserYamlParse.Applicative.ImplementYamlParse.Applicative.ExplainYamlParse.Applicative.ClassYamlParse.Applicative.PrettyYamlParse.Applicative.OptParseYamlParse.Applicative.IOPaths_yamlparse_applicativeYamlParse.Applicative KeyParser ObjectParser YamlParser FieldParserFieldParserFmapFieldParserRequiredFieldParserOptionalFieldParserOptionalWithDefaultParserParseAny ParseExtraParseEq ParseNull ParseMaybe ParseBool ParseString ParseNumber ParseArray ParseObject ParseListParseMap ParseMapKeys ParseField ParsePure ParseFmapParseApParseAlt ParseComment objectParserunnamedObjectParserviaRead literalStringliteralShowValue literalValue alternativesrequiredFieldWithrequiredFieldWith'optionalFieldWithoptionalFieldWith'optionalFieldWithDefaultWithoptionalFieldWithDefaultWith' maybeParser eitherParser extraParser$fFunctorFieldParser$fAlternativeParser$fApplicativeParser$fFunctorParserfromTexttoTextimplementParserSchema 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$fYamlSchemaKeyMap$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 commentsListColourYellowGrayRedBlueWhiteprettySchemaDocprettyParserDocprettyColourisedSchemaDocprettyColourisedParserDoc prettySchemaprettyColourisedSchema emptyCommentscomment schemaDoc$fMonoidComments$fSemigroupComments$fShowCommentsconfDesc confDescWithreadConfigFilereadFirstConfigFileversion getBinDir getLibDir getDynLibDir getDataDir getLibexecDir getSysconfDirgetDataFileNamebaseGHC.BaseMonad Data.Foldablenull GHC.MaybeNothingJustGHC.ReadReadGHC.ShowShowpureghc-prim GHC.TypesCharString