Îõ³h$(—&ØÆ      !"#$%&'()*+,-./0123456789:;<=>?@ABCDENone 9>?ÀÉ×Q constructA subclass of MonadFixà for monads that can fix a function that handles higher-kinded data constructThis specialized form of F can be used inside mfix. constructA subclass of G2 for parsers that can switch the input stream type constructÌConverts a parser accepting one input stream type to another. The functions forth and back must be inverses of each other and they must distribute through H: f (s1 <> s2) == f s1 <> f s2 constructÇConverts a parser accepting one input stream type to another just like ,, except the argument functions can return Nothing" to indicate they need more input. construct Subclass of I1 that carries an error message in case of failure constructEquivalent to JŸ except it takes an error message it may carry or drop on the floor. The grammatical form of the argument should be a noun representing the unexpected value.  construct$Sets or modifies the expected value.      Safe-Inferred² construct/The central type. The four type parameters are:m) is the type of the parser for the formatnÇ is the container type for the serialized form of the value, typically Identity unless something  Alternative is called for.s0 is the type of the serialized value, typically  ByteStringa( is the type of the value in the programThe parse and  serialize÷ fields can be used to perform the two sides of the conversion between the in-memory and serialized form of the value.KNone '(>?ÀÔÙ%•& constructÎA literal serialized form, such as a magic constant, corresponding to no value#testParse (literal "Hi") "Hi there"Right [(()," there")] constructêModifies the serialized form of the given format by padding it with the given template if it's any shorter=testParse (padded "----" $ takeCharsWhile isDigit) "12--3---"Right [("12","3---")];testSerialize (padded "----" $ takeCharsWhile isDigit) "12" Right "12--" construct Modifies the serialized form of the given format by padding it with the given template. The serialized form has to be shorter than the template before padding. constructËFormat whose in-memory value is a fixed-size prefix of the serialized valuetestParse (take 3) "12345"Right [("123","45")]testSerialize (take 3) "123" Right "123"testSerialize (take 3) "1234"9Left "expected a value of length 3, encountered \"1234\"" construct„Format whose in-memory value is the longest prefix of the serialized value smallest parts of which all satisfy the given predicate.$testParse (takeWhile (> "b")) "abcd"Right [("","abcd")]$testParse (takeWhile (> "b")) "dcba"Right [("dc","ba")](testSerialize (takeWhile (> "b")) "dcba"/Left "expected takeWhile, encountered \"dcba\""&testSerialize (takeWhile (> "b")) "dc" Right "dc"$testSerialize (takeWhile (> "b")) ""Right "" constructŽFormat whose in-memory value is the longest non-empty prefix of the serialized value smallest parts of which all satisfy the given predicate.%testParse (takeWhile1 (> "b")) "abcd"Left "takeWhile1"%testSerialize (takeWhile1 (> "b")) "",Left "expected takeWhile1, encountered \"\""'testSerialize (takeWhile1 (> "b")) "dc" Right "dc"  constructŽFormat whose in-memory value is the longest prefix of the serialized value that consists of characters which all satisfy the given predicate.(testParse (takeCharsWhile isDigit) "a12"Right [("","a12")](testParse (takeCharsWhile isDigit) "12a"Right [("12","a")],testSerialize (takeCharsWhile isDigit) "12a"3Left "expected takeCharsWhile, encountered \"12a\""+testSerialize (takeCharsWhile isDigit) "12" Right "12")testSerialize (takeCharsWhile isDigit) ""Right ""! construct˜Format whose in-memory value is the longest non-empty prefix of the serialized value that consists of characters which all satisfy the given predicate.)testParse (takeCharsWhile1 isDigit) "a12"&Left "takeCharsWhile1 encountered 'a'")testParse (takeCharsWhile1 isDigit) "12a"Right [("12","a")],testSerialize (takeCharsWhile1 isDigit) "12" Right "12"*testSerialize (takeCharsWhile1 isDigit) ""1Left "expected takeCharsWhile1, encountered \"\""" construct=A fixed expected value serialized through the argument format testParse (value char 'a') "bcd"Left "encountered 'b'" testParse (value char 'a') "abc"Right [((),"bc")]# constructÒFilter the argument format so it only succeeds for values that pass the predicate.&testParse (satisfy isDigit char) "abc"Left "encountered 'a'"'testParse (satisfy isLetter char) "abc"Right [('a',"bc")]$ construct1Converts a format for serialized streams of type s! so it works for streams of type t insteadÈtestParse (mapSerialized ByteString.unpack ByteString.pack byte) [1,2,3]Right [(1,[2,3])]% construct1Converts a format for serialized streams of type s! so it works for streams of type t- instead. The argument functions may return Nothingà to indicate they have insuficient input to perform the conversion.& construct/Converts a format for in-memory values of type a so it works for values of type b instead.ÈtestParse (mapValue (read @Int) show $ takeCharsWhile1 isDigit) "012 34"Right [(12," 34")]?testSerialize (mapValue read show $ takeCharsWhile1 isDigit) 12 Right "12"' construct/Converts a format for in-memory values of type a so it works for values of type bÍ instead. The argument functions may signal conversion failure by returning Nothing.( construct(A trivial format for a single byte in a L(testParse byte (ByteString.pack [1,2,3])Right [(1,"\STX\ETX")]) construct'A trivial format for a single charactertestParse char "abc"Right [('a',"bc")]* construct>A quick way to format a value that already has an appropriate M instance4testParse (cereal @Word16) (ByteString.pack [1,2,3])Right [(258,"\ETX")]%testSerialize cereal (1025 :: Word16)Right "\EOT\SOH"+ constructÄSpecifying a formatter explicitly using the cereal getter and putterÅtestParse (cereal' getWord16le putWord16le) (ByteString.pack [1,2,3])Right [(513,"\ETX")], construct6Repeats the argument format the given number of times.6testParse (count 4 byte) (ByteString.pack [1,2,3,4,5])Right [([1,2,3,4],"\ENQ")](testSerialize (count 4 byte) [1,2,3,4,5];Left "expected a list of length 4, encountered [1,2,3,4,5]"&testSerialize (count 4 byte) [1,2,3,4]Right "\SOH\STX\ETX\EOT"- constructÌConverts a record of field formats into a single format of the whole record.. constructãConverts a record of field formats into a single format of the whole record, a generalized form of -./ constructSame as the usual  except a  is no N.0 constructSame as the usual O except a  is no N , let alone P.1 constructSame as the usual Q except a  is no N , let alone P.2 constructSame as the usual R except a  is no N , let alone I.3 construct5A discriminated or tagged choice between two formats.4 constructSame as the usual S except a  is no N , let alone I.5 constructLike 45 except with arbitrary default serialization for the Nothing value. -optional = optionWithDefault (literal mempty)6 constructSame as the usual T except a  is no N , let alone I.7 constructSame as the usual U except a  is no N , let alone I.8 construct—Represents any number of values formatted using the first argument, separated by the second format argumewnt in serialized form. Similar to the usual V combinator.ÅtestParse (takeCharsWhile isLetter `sepBy` literal ",") "foo,bar,baz"ßRight [([],"foo,bar,baz"),(["foo"],",bar,baz"),(["foo","bar"],",baz"),(["foo","bar","baz"],"")]9 constructÀCombines two formats into a format for the pair of their values. testParse (pair char char) "abc"Right [(('a','b'),"c")]: constructƒCombines two formats, where the second format depends on the first value, into a format for the pair of their values. Similar to W except  is no N let alone X.8testParse (deppair char (\c-> satisfy (==c) char)) "abc"Left "encountered 'b'"8testParse (deppair char (\c-> satisfy (==c) char)) "aac"Right [(('a','a'),"c")]; constructSame as the usual J except a  is no N , let alone I.< construct(Name a format to improve error messages.8testParse (takeCharsWhile1 isDigit "a number") "abc")Left "expected a number, encountered 'a'" "a number") "abc"-Left "expected a number, encountered \"abc\""= constructSame as the usual  except a  is no N , let alone X.> construct Attempts to ó the given input with the format with a constrained type, returns either a failure message or a list of successes.? construct"A less polymorphic wrapper around  useful for testing) !"#$%&'()*+,-./0123456789:;<=>?)/0123<;459:678,=-.$%&'#"()*+ !>?/4041423<0None'(&È@ constructThe list of bitsA construct$The primitive format of a single bit(testParse bit [True, False, False, True]!Right [(True,[False,False,True])]@ABCDE@ABCDEÙ       !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTRSURSBVWXYZ[RS\RS7RS]RS8RS9R^;RS=RS>_`?RSaRSbã(construct-0.3.0.1-1fLYhKAbrcXDmPOibqKMlhConstruct.Classes ConstructConstruct.BitsConstruct.Internal Data.Functor<$Control.Monad.FixmfixErrorFixTraversable fixSequenceInputMappableParsingmapParserInputmapMaybeParserInputAlternativeFailfailure expectedName errorStringconcatExpected oxfordComma$fAlternativeFail[]$fAlternativeFailMaybe$fInputMappableParsingParser$fFixTraversableParser$fFixTraversableParser0$fAlternativeFailEither$fAlternativeEither$fSemigroupError $fEqError $fShowErrorFormatparse serializeliteralpaddedpadded1take takeWhile takeWhile1takeCharsWhiletakeCharsWhile1valuesatisfy mapSerializedmapMaybeSerializedmapValue mapMaybeValuebytecharcerealcereal'countrecord recordWith*><*<|><+>optionaloptionWithDefaultmanysomesepBypairdeppairempty testParse testSerializeBitsbitbigEndianBitsOfbigEndianBytesOflittleEndianBitsOflittleEndianBytesOf)rank2classes-1.4.1-2DRRPsQhycmDTymK3bqTwqRank2traverse(input-parsers-0.2-FqyOIsxgk9OA4LT0evWZbwText.Parser.Input InputParsingbaseGHC.Base<> Alternativebytestring-0.10.10.0Data.ByteString.Internal ByteString%cereal-0.5.8.1-L9E2i0HCNy76uWj34ypuDQData.Serialize SerializeFunctor ApplicativeControl.Applicative&parsers-0.12.10-5INvHCDuaNcEYx5zBuTkgxText.Parser.Combinators>>=Monad