Îõ³h*-k*Vÿ      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~1.0.2.0 Jeremy ListBSD-3quick.dudley@gmail.com Safe-InferredÅÆÈØÝÔphaserÇClass for types which consume and produce incremental input and output.phaserA type for building  values.  and €6 instances are defined for this type rather than for Ë in order to avoid traversing the entire call stack for every input value.phaserÝ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. phaserTake the incremental output of the first argument and use it as input for the second argument. Discard the final output of the first argument. phaserÐIf parsing fails in the right argument: prepend the left argument to the errors phaser6Change the counter type of a Phaser object. May cause  to behave differently from expected: counter increments inside the right hand argument are visible outside but not vice versa. phaserReturn one item of the input. phaserIncrement the counterphaserÎRetrieve the current counter. Counter values are shared between arguments to  ª except when at least one argument is produced by an incompatible function. All functions in this module are compatible unless noted in the corresponding documentation.phaser)Yield one item for the incremental outputphaser#Fail if any more input is provided.phaser#Fail unless more input is provided.phaserüInsert one value back into the input. May be used for implementing lookahead. Can have counter-intuitive interactions with .phaserØPut a list of values back into the input. Can have counter-intuitive interactions with phaser>Use the argument to control the input passed to the following  actions.  buffer (return True)  is equivalent to  return ()   buffer (return False)  is equivalent to  eof   buffer (True <$ yield a)  is equivalent to @ put1 a * etc.phaser Remove an  Automaton'"s ability to consume further inputphaserTake a  or  which doesn't É anything and allow it to be used in a chain containing yield statementsphaserTake a  or Ú which doesn't consume any input and allow it to be composed with input consuming objectsphaserÐOptional pre-processing of an automaton before passing it more input. Produces Û with all "final outputs" and errors stripped if the automaton can accept more input, and ‚È with everything except errors stripped if it cannot accept more input.phaserPass one input to an automatonphaserÒTake either counters with errors or a list of possible results from an automaton.phaser Create a ƒ6 like value from a Phaser type. If the input type is „, the result will be ƒphaser"Pass a list of input values to an phaserUse a  value similarly to a parser.phaserUse a < as a parser, but consuming a single input instead of a listphaser Decompose an  into its component options. phaser×Separate unconditional counter modifiers from an automaton. The removal is visible to !phaser;Separate the values unconditionally yielded by an automaton"phaserRun 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 …’ 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.#     !"#     !"5 4 1 1 Jeremy ListBSD-3quick.dudley@gmail.com Safe-InferredW,phaserA  which takes †.s as input and yields their individual bytes.-phaserA  which takes lazy ‡.s as input and yields their individual bytes..phaserôRun 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./phaser$Run a parser from the contents of a ˆ. Input is provided as bytes.,-./,-./ Jeremy ListBSD-3quick.dudley@gmail.com Safe-InferredÃÅÆ""0phaserTries in this module can be used for creating more efficient parsers when several of the recognized strings begin with the same few characters1phaserîA data type for describing a position in a text file. Constructor arguments are row number and column number.3phaseræClass for types which have standardized or otherwise unambiguous representations. Implementations of 40 may be more permissive than the corresponding ‰ instance (if any).5phaserÉConsume one input, return it if it matches the predicate, otherwise fail.6phaserÒConsume one input, if it's equal to the parameter then return it, otherwise fail.7phaser6 specialized to „8phaserCase insensitive version of 79phaserMatch a list of input values:phaser!Match a string (case insensitive)<phaser)Parse a standard positive base 10 integer=phaser Parse a standard base 10 integer>phaserÀTake some hexadecimal digits and parse a number from hexadecimal?phaser)Parse a hexadecimal number prefixed with Ox@phaserÂParse a positive integer from either decimal or hexadecimal formatAphaserÑParse a number either from decimal digits or from hexadecimal prefixed with "0x"Bphaser0Parse a number from decimal digits, "-", and "."Šphaser3Parse a positive number from decimal digits and "."CphaserÈParse a number from standard decimal format or from scientific notation.Dphaser4Move the position counter one character to the rightEphaser*Move the position counter to the next lineFphaser†Count 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.Gphaser.Converts all line separators into Unix format.HphaserUse a ð 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.IphaserìsepBy p sep parses zero or more occurrences of p, separated by sep. Returns a list of values returned by p.JphaserìsepBy1 p sep parses one or more occurrences of p, separated by sep. Returns a list of values returned by p.KphaserªParses 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))Lphaser³Parses 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))MphaserôRun a parser on input from a file. Input is provided as bytes, if characters are needed: a decoding phase such as   or O may be used.NphaseröRun a parser on input from a handle. Input is provided as bytes, if characters are needed: a decoding phase such as   may be used.OphaserÀDecode bytes to characters using the Latin1 (ISO8859-1) encoding‹phaseræDecode bytes to characters using the ASCII encoding, aborting if any byte is outside the ASCII range.PphaserÅCreate a trie which maps a single string to an object. Analogous to Œ.phaserÎCreate a trie from a list of strings and corresponding objects. Analogous to ŽQphaser Create a  or  from a 0(12340PQ56789:;=?@ADEFGHIJKLMNO(12340PQ56789:;=?@ADEFGHIJKLMNO;5  Jeremy ListBSD-3quick.dudley@gmail.com Safe-Inferred"»%1234 HM.N/ 56789:ABCIKLF%1234 HM.N/ 56789:ABCIKLF Safe-Inferred)*Ý#êjphaser Create a ) which runs the constituent terms of the i< in every order in which they succeed, running a separator ) between each term which consumes input.ijkijk Jeremy ListBSD-3quick.dudley@gmail.com Safe-Inferred$åophaserA  which takes (s and yields their individual characterspphaserA  which takes (s and yields their individual charactersopop Safe-Inferred(ô qphaser0Consume one or two 16 bit words and decode to a „ using UTF-16tphaserÙDecode bytes to characters using UTF-16, using the byte order mark to detect endianness.uphaser;Decode bytes to characters using UTF-16, little endian modevphaser8Decode bytes to characters using UTF-16, big endian modewphaser Decode bytes to characters using UTF-16, using byte order mark if available, otherwise trying both byte orders. Downstream parser may be used to disambiguate.‘phaser-Encode a stream of characters to 16 bit unitsxphaserÝEncode a stream of characters to bytes using UTF-16, big endian without the byte order mark.yphaseràEncode a stream of characters to bytes using UTF-16, little endian without the byte order mark.zphaserâEncode a stream of characters to bytes using UTF-16, little endian including the byte order mark.{phaserßEncode a stream of characters to bytes using UTF-16, big endian including the byte order mark. qstuvwxyz{r qstuvwxyz{r Jeremy ListBSD-3quick.dudley@gmail.com Safe-Inferred*L|phaser×Consume a UTF-8 character from a stream of bytes and return it. Fail on invalid UTF-8.}phaser6Consume any number of UTF-8 characters and yield them.~phaser>Consume any number of Characters and yield them as UTF-8 bytes|}~|}~’    !"#$%&'()*+,-./0123456789:;<<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…† ‡ˆ‰Šˆ‰‹ˆŒˆŒŽˆ‘’“ˆ”•–—˜–™˜ˆš›ˆœžŸ ¡¢£ ¡¤¥¦§¥¨§©ª%phaser-1.0.2.0-15PAVGdCEw1K6ZaZHxNJbrCodec.Phaser.CoreCodec.Phaser.ByteStringCodec.Phaser.CommonCodec.Phaser.PermutationCodec.Phaser.TextCodec.Phaser.UTF16Codec.Phaser.UTF8phaser utf8_stream Codec.Phaser PhaserType toAutomaton fromAutomatontoPhase fromPhase$#$Phase Automaton chainWith>>#>#>getcountgetCountyieldeofneofput1putbufferstarvefitYieldfitGet beforeStepstepextracttoReadSrunparse_parse1_options readCountoutputsstream$fFunctorAutomaton$fMonadPlusPhase$fAlternativePhase$fMonadFailPhase $fMonadPhase$fApplicativePhase$fFunctorPhase$fPhaserTypeAutomaton$fPhaserTypePhaseunpackBS unpackLBS parseFile_ parseHandle_TriePosition StandardizedregularsatisfymatchchariCharstringiString<#>positiveIntegerDecimalintegerDecimal directHexhexpositiveIntegerintegerdecimalscientificNotation countChar countLine trackPositionnormalizeNewlinesparsesepBysepBy1munchmunch1 parseFile parseHandlelatin1newTriefromTrie$fStandardizedCharBool$fStandardizedCharRatio$fStandardizedCharDouble$fStandardizedCharFloat$fStandardizedCharInt64$fStandardizedCharInt32$fStandardizedCharInt16$fStandardizedCharInt8$fStandardizedCharWord64$fStandardizedCharWord32$fStandardizedCharWord16$fStandardizedCharWord8$fStandardizedCharWord$fStandardizedCharInteger$fStandardizedCharInt$fMonoidPosition$fSemigroupPosition$fReadPosition$fShowPosition$fSemigroupTrie $fMonoidTrie $fEqPosition $fOrdPosition Permutable runPermutableterm$fAlternativePermutable$fApplicativePermutable$fFunctorPermutable unpackTextunpackLazyText utf16_charutf16_encode_charutf16_word16_streamutf16_stream_useBOMutf16_stream_leutf16_stream_beutf16_stream_unknownutf16_encode_stream_be_nobomutf16_encode_stream_le_nobomutf16_encode_stream_beutf16_encode_stream_le utf8_char utf8_encodebaseGHC.BaseMonad Applicative Data.EitherRightLeftText.ParserCombinators.ReadPReadSghc-prim GHC.TypesChar GHC.MaybeNothingbytestring-0.11.5.2Data.ByteString.Internal.Type ByteStringData.ByteString.Lazy.InternalGHC.IO.Handle.TypesHandleGHC.ReadReadpositiveDecimalasciicontainers-0.6.7Data.Map.Internal singleton listToTriefromList text-2.0.2Data.Text.InternalTextData.Text.Internal.Lazyutf16_encode_stream_word16