Îõ³h$3 /˜“      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’  Safe-Inferred’“”•–—˜™šNone'(>ÀÔÙL&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  '(>ÀÔÙà‰2yamlparse-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.22None '(8>ÀÔÙà¤Eyamlparse-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.3DCBA@?>=<;:987654E3DCBA@?>=<;:987654ENone '(8>ÀÔÙ'§ Jyamlparse-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 X if you do.Lyamlparse-applicative8A class of types for which a schema for keys is defined.Nyamlparse-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.Oyamlparse-applicativeA yamlschema for one valueÒSee the sections on helper functions for implementing this for plenty of examples.Pyamlparse-applicative!A yamlschema for a list of values*This is really only useful for cases like ¢ and £Ryamlparse-applicative9A parser for a required field in an object at a given keySyamlparse-applicativeÍA parser for a required field in an object at a given key without a help textTyamlparse-applicative:A parser for an optional field in an object at a given keyUyamlparse-applicativeÎA parser for an optional 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 key with a default valueWyamlparse-applicativeãA parser for an optional field in an object at a given key with a default value without a help textXyamlparse-applicativeHelper function to implement FromJSON via NExample: :instance FromJSON Config where parseJSON = viaYamlSchemaYyamlparse-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.JKLMNPOQRSTUVWXNPOLMQRSTUVWXJKNone  '(>ÀÔÙàì,F zyamlparse-applicativeA list of commentsƒyamlparse-applicative&Render pretty documentation about the O 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 O 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 comments‹yamlparse-applicativePrettyprint a 3z{|}‚~€ƒ„…†‡ˆ‰Š‹}‚~€ƒ„…†‡ˆz{|‰Š‹None '(>ÀÔÙ-¼yamlparse-applicative6Helper function to add the schema documentation for a N/ parser to the optparse applicative help outputyamlparse-applicativeêHelper function to add the schema documentation for a given parser to the optparse applicative help outputNone  '(>ÀÔÙà.œ‘yamlparse-applicative4Helper function to read a config file for a type in N’yamlparse-applicative;Helper function to read the first in a list of config files‘’‘’ None'(>ÀÔÙ.ÌÙ  !"#$%&'()*+,-23456789:;<=>?@ABCDEJKLMNOPRSTUVWXƒ„…†‡ˆ‘’ÙNOPLM+,-#$RS%&TU'(VW)*! " XJK2ƒ„…†E3456789:;<=>?@ABCD‡ˆ‘’¤     !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥£¦§£¨©£¨ª£«¬£­®£¤¯°±²£¤³´4yamlparse-applicative-0.2.0.0-HfGwhV5W3gnG6LuOKM94CsYamlParse.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$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 commentsListColourYellowGrayRedBlueWhiteprettySchemaDocprettyParserDocprettyColourisedSchemaDocprettyColourisedParserDoc prettySchemaprettyColourisedSchema emptyCommentscomment schemaDoc$fMonoidComments$fSemigroupComments$fShowCommentsconfDesc confDescWithreadConfigFilereadFirstConfigFileversion getBinDir getLibDir getDynLibDir getDataDir getLibexecDir getSysconfDirgetDataFileNamebaseGHC.BaseMonad Data.Foldablenull GHC.MaybeNothingJustGHC.ReadReadGHC.ShowShowpureghc-prim GHC.TypesCharString