Îõ³h$2ç/~‘      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ  Safe-Inferredˆ‘’“”•–—˜None'(>ÀÔÙB&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  '(>ÀÔÙà}0yamlparse-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.00None '(8>ÀÔÙà˜Cyamlparse-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.1BA@?>=<;:98765432C1BA@?>=<;:98765432CNone '(8>ÀÔÙ'› Hyamlparse-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 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 valueÒSee 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-applicativeÍA 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-applicativeÎA parser for an optional 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 key with a default valueUyamlparse-applicativeãA 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  '(>ÀÔÙàì,: xyamlparse-applicativeA list of commentsyamlparse-applicative&Render pretty documentation about the M 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 M 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 1xyz{}€|~‚ƒ„…†‡ˆ‰{}€|~‚ƒ„…†xyz‡ˆ‰None '(>ÀÔÙ-¬yamlparse-applicative6Helper function to add the schema documentation for a L/ 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 Lyamlparse-applicative;Helper function to read the first in a list of config files None'(>ÀÔÙ.¼Ô  !"#$%&'()*+,0123456789:;<=>?@ABCHIJKLMNPQRSTUV‚ƒ„…†ŽÔLMNJK*+,"#PQ$%RS&'TU() ! VHI0‚ƒ„C123456789:;<=>?@AB…†Ž¢     !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¡¤¥¡¦§¡¦¨¡©ª¡«¬¡¢­®¯°¡¢±²4yamlparse-applicative-0.1.0.3-FqRf6SJB2wcLIqPTxvqezYYamlParse.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 commentsListColourYellowGrayRedBlueWhiteprettySchemaDocprettyParserDocprettyColourisedSchemaDocprettyColourisedParserDoc prettySchemaprettyColourisedSchema emptyCommentscomment schemaDoc$fMonoidComments$fSemigroupComments$fShowCommentsconfDesc confDescWithreadConfigFilereadFirstConfigFileversion getBinDir getLibDir getDynLibDir getDataDir getLibexecDir getSysconfDirgetDataFileNamebaseGHC.BaseMonad Data.Foldablenull GHC.MaybeNothingJustGHC.ReadReadGHC.ShowShowpureghc-prim GHC.TypesCharString