n      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklm Jeremy ListBSD-3quick.dudley@gmail.comNone<=?OTGClass for types which consume and produce incremental input and output.A type for building  values. n and o6 instances are defined for this type rather than for K in order to avoid traversing the entire call stack for every input value.Represents a nondeterministic computation in progress. There are 4 type parameters: a counter type (may be used for tracking line and column numbers), an input type, an incremental output type, and a final output type.Take the incremental output of the first argument and use it as input for the second argument. Discard the final output of the first argument. PIf parsing fails in the right argument: prepend the left argument to the errors +Change the counter type of a Phaser object. Return one item of the input. Modify the counter )Yield one item for the incremental output#Fail if any more input is provided.#Fail unless more input is provided.LInsert one value back into the input. May be used for implementing lookahead)Put a list of values back into the input. Remove an  Automaton'"s ability to consume further inputTake a  or  which doesn't  I anything and allow it to be used in a chain containing yield statementsPOptional pre-processing of an automaton before passing it more input. Produces p[ with all "final outputs" and errors stripped if the automaton can accept more input, and qH with everything except errors stripped if it cannot accept more input.Pass one input to an automatonRTake either counters with errors or a list of possible results from an automaton. Create a r6 like value from a Phaser type. If the input type is s, the result will be r"Pass a list of input values to an Use a  value similarly to a parser.Use a < as a parser, but consuming a single input instead of a list Decompose an  into its component options.:Separate unconditional counter modifiers from an automaton;Separate the values unconditionally yielded by an automatonRun a Phaser object on input values produced by a monadic action and passing the output values to another monadic function. The input action should return t when there is no more input. If there is more than one final result: the left one is chosen, and all the outputs leading to it are also output.1uvwxyz{|} ~ !"#$%&     %uvwxyz{|} ~ !"#$%&54 1 1 Jeremy ListBSD-3quick.dudley@gmail.comNone'A  which takes (s and yields their individual characters(A  which takes (s and yields their individual characters'('('('( Jeremy ListBSD-3quick.dudley@gmail.comNone)WConsume a UTF-8 character from a stream of bytes and return it. Fail on invalid UTF-8.*6Consume any number of UTF-8 characters and yield them.+>Consume any number of Characters and yield them as UTF-8 bytes)*+)*+)*+)*+ Jeremy ListBSD-3quick.dudley@gmail.comNone,A  which takes .s as input and yields their individual bytes.-A  which takes lazy .s as input and yields their individual bytes..tRun a parser on input from a file. Input is provided as bytes, if characters are needed: a decoding phase such as  or latin1- may be used. Counter type agnostic version.,-.,-.,-.,-. Jeremy ListBSD-3quick.dudley@gmail.comNone:<=!/Tries in this module can be used for creating more efficient parsers when several of the recognized strings begin with the same few characters0nA data type for describing a position in a text file. Constructor arguments are row number and column number.2fClass for types which have standardized or otherwise unambiguous representations. Implementations of 30 may be more permissive than the corresponding  instance (if any).4IConsume one input, return it if it matches the predicate, otherwise fail.5RConsume one input, if it's equal to the parameter then return it, otherwise fail.65 specialized to s7Case insensitive version of 68Match a list of input values9!Match a string (case insensitive):)Parse a standard positive base 10 integer; Parse a standard base 10 integer<@Take some hexadecimal digits and parse a number from hexadecimal=)Parse a hexadecimal number prefixed with Ox>BParse a positive integer from either decimal or hexadecimal format?QParse a number either from decimal digits or from hexadecimal prefixed with "0x"@0Parse a number from decimal digits, "-", and "."3Parse a positive number from decimal digits and "."AHParse a number from standard decimal format or from scientific notation.B4Move the position counter one character to the rightC*Move the position counter to the next lineDCount the lines and characters from the input before yielding them again. If the phase pipeline does not include this or similar: parsing errors will not report the correct position. Unix, Windows, Mac-OS Classic, and Acorn newline formats are all recognized.E.Converts all line separators into Unix format.FUse a p as a parser. Note that unlike other parsers the reported position in the input when the parser fails is the position reached when all parsing options are exhausted, not the beginning of the failing token. Since the characters may be counted nondeterministically: if multiple errors are returned the reported error position may be different for each error report.GlsepBy p sep parses zero or more occurrences of p, separated by sep. Returns a list of values returned by p.HlsepBy1 p sep parses one or more occurrences of p, separated by sep. Returns a list of values returned by p.IParses the first zero or more values satisfying the predicate. Always succeds, exactly once, having consumed all the characters Hence NOT the same as (many (satisfy p))JParses the first one or more values satisfying the predicate. Succeeds if at least one value matches, having consumed all the characters Hence NOT the same as (some (satisfy p))KtRun a parser on input from a file. Input is provided as bytes, if characters are needed: a decoding phase such as  or L may be usedL@Decode bytes to characters using the Latin1 (ISO8859-1) encodingfDecode bytes to characters using the ASCII encoding, aborting if any byte is outside the ASCII range.MECreate a trie which maps a single string to an object. Analogous to .NCreate a trie from a list of strings and corresponding objects. Analogous to N Create a  or  from a /8/0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`a&/0123456789:;<=>?@ABCDEFGHIJKLMN&0123/MN456789;:@A<=>?BCDEFGHIJKL5/0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`aNone d0Consume one or two 16 bit words and decode to a s using UTF-16fYDecode bytes to characters using UTF-16, using the byte order mark to detect endianness.g;Decode bytes to characters using UTF-16, little endian modeh8Decode bytes to characters using UTF-16, big endian modeiDecode bytes to characters using UTF-16, using byte order mark if available, otherwise trying both byte orders. Downstream parser may be used to disambiguate.-Encode a stream of characters to 16 bit unitsj]Encode a stream of characters to bytes using UTF-16, big endian without the byte order mark.k`Encode a stream of characters to bytes using UTF-16, little endian without the byte order mark.lbEncode a stream of characters to bytes using UTF-16, little endian including the byte order mark.m_Encode a stream of characters to bytes using UTF-16, big endian including the byte order mark.defghijklm defghijklm defghiejklmdefghijklm Jeremy ListBSD-3quick.dudley@gmail.comNone 01456789?@ADFGIJ01 F 456789?@AGIJD      !"#$%&'()*+,-./01234567889:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwuvxuyzuy{u|}~uvu7%phaser-1.0.0.1-GDGCHmFdglG2YzJMiDVcvHCodec.Phaser.CoreCodec.Phaser.TextCodec.Phaser.UTF8Codec.Phaser.ByteStringCodec.Phaser.CommonCodec.Phaser.UTF16 utf8_stream Codec.Phaser PhaserType toAutomaton fromAutomatontoPhase fromPhase$#$Phase Automaton>>#>#>getcountyieldeofneofput1putstarvefitYield beforeStepstepextracttoReadSrunparse_parse1_options readCountoutputsstream$fPhaserTypeAutomaton$fPhaserTypePhase$fFunctorAutomaton$fMonadPlusPhase$fAlternativePhase $fMonadPhase$fApplicativePhase$fFunctorPhase unpackTextunpackLazyText utf8_char utf8_encodeunpackBS unpackLBS parseFile_TriePosition StandardizedregularsatisfymatchchariCharstringiStringpositiveIntegerDecimalintegerDecimal directHexhexpositiveIntegerintegerdecimalscientificNotation countChar countLine trackPositionnormalizeNewlinesparsesepBysepBy1munchmunch1 parseFilelatin1newTriefromTrie$fStandardizedCharBool$fStandardizedCharRatio$fStandardizedCharDouble$fStandardizedCharFloat$fStandardizedCharInt64$fStandardizedCharInt32$fStandardizedCharInt16$fStandardizedCharInt8$fStandardizedCharWord64$fStandardizedCharWord32$fStandardizedCharWord16$fStandardizedCharWord8$fStandardizedCharWord$fStandardizedCharInteger$fStandardizedCharInt $fMonoidTrie$fMonoidPosition$fReadPosition$fShowPosition $fEqPosition $fOrdPosition utf16_charutf16_word16_streamutf16_stream_useBOMutf16_stream_leutf16_stream_beutf16_stream_unknownutf16_encode_stream_be_nobomutf16_encode_stream_le_nobomutf16_encode_stream_beutf16_encode_stream_lebaseGHC.BaseMonad Applicative Data.EitherRightLeftText.ParserCombinators.ReadPReadSghc-prim GHC.TypesCharNothingResultReadyFailed:+++YieldCountsource_asource_pprune1#text-1.2.2.2-KC7dWoG09dA1F6jKj5GSqhData.Text.InternalTextData.Text.Internal.Lazybytestring-0.10.8.1Data.ByteString.Internal ByteStringData.ByteString.Lazy.InternalGHC.ReadReadpositiveDecimalasciicontainers-0.5.7.1 Data.Map.Base singleton listToTriefromListsurroundutf16_encode_stream_word16unit_beunit_leencode_unit_beencode_unit_le useBOM_unitutf16_encode_charmkStreammkEncodeStream