h$3h1      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[(c) Eric Mertens 2007BSD3-style (see LICENSE)emertens@galois.com experimentalportable Trustworthyk utf8-stringEncode a string using  and store the result in a \. utf8-stringDecode a string using  using a \ as input. This is not safe but it is necessary if UTF-8 encoded text has been loaded into a \ prior to being decoded. utf8-stringEncode a single Haskell ] to a list of ^ values, in UTF8 format. utf8-stringEncode a Haskell \ to a list of ^ values, in UTF8 format. utf8-string+Decode a UTF8 string packed into a list of ^ values, directly to \ utf8-stringutf8Encode str. is a convenience function; checks to see if str isn't UTF-8 encoded before doing so. Sometimes useful, but you are better off keeping track of the encoding so as to avoid the cost of checking. utf8-stringisUTF8Encoded str8 tries to recognize input string as being in UTF-8 form.(c) Iavor S. Diatchki 2009BSD3-style (see LICENSE)emertens@galois.com experimentalportable Trustworthy>C utf8-string9Converts a Haskell string into a UTF8 encoded bytestring. utf8-stringConvert a UTF8 encoded bytestring into a Haskell string. Invalid characters are replaced with  '\0xFFFD'. utf8-string?This character is used to mark errors in a UTF8 encoded string. utf8-string8Try to extract a character from a byte string. Returns _ if there are no more bytes in the byte string. Otherwise, it returns a decoded character and the number of bytes used in its representation. Errors are replaced by character  '\0xFFFD'. utf8-stringSplit after a given number of characters. Negative values are treated as if they are 0. utf8-stringtake n s returns the first n characters of s. If s has less than n) characters, then we return the whole of s. utf8-stringdrop n s returns the s without its first n characters. If s has less than n, characters, then we return an empty string. utf8-stringSplit a string into two parts: the first is the longest prefix that contains only characters that satisfy the predicate; the second part is the rest of the string. Invalid characters are passed as  '\0xFFFD' to the predicate. utf8-stringSplit a string into two parts: the first is the longest prefix that contains only characters that do not satisfy the predicate; the second part is the rest of the string. Invalid characters are passed as  '\0xFFFD' to the predicate. utf8-stringGet the first character of a byte string, if any. Malformed characters are replaced by  '\0xFFFD'. utf8-string%Traverse a bytestring (right biased). utf8-stringTraverse a bytestring (left biased). This function is strict in the accumulator. utf8-stringCounts the number of characters encoded in the bytestring. Note that this includes replacement characters. utf8-string>Split a string into a list of lines. Lines are terminated by '\n' or the end of the string. Empty lines may not be terminated by the end of the string. See also  .  utf8-string>Split a string into a list of lines. Lines are terminated by '\n' or the end of the string. Empty lines may not be terminated by the end of the string. This function preserves the terminators. See also .        (c) Iavor S. Diatchki 2009BSD3-style (see LICENSE)emertens@galois.com experimentalportable This module provides fast, validated encoding and decoding functions between 'ByteString's and 'String's. It does not exactly match the output of the Codec.Binary.UTF8.String output for invalid encodings as the number of replacement characters is sometimes longer. TrustworthyL$ utf8-string9Converts a Haskell string into a UTF8 encoded bytestring.% utf8-stringConvert a UTF8 encoded bytestring into a Haskell string. Invalid characters are replaced with  '\0xFFFD'.& utf8-string?This character is used to mark errors in a UTF8 encoded string.' utf8-string8Try to extract a character from a byte string. Returns _ if there are no more bytes in the byte string. Otherwise, it returns a decoded character and the number of bytes used in its representation. Errors are replaced by character  '\0xFFFD'.( utf8-stringSplit after a given number of characters. Negative values are treated as if they are 0.) utf8-stringtake n s returns the first n characters of s. If s has less than n) characters, then we return the whole of s.* utf8-stringdrop n s returns the s without its first n characters. If s has less than n, characters, then we return an empty string.+ utf8-stringSplit a string into two parts: the first is the longest prefix that contains only characters that satisfy the predicate; the second part is the rest of the string. Invalid characters are passed as  '\0xFFFD' to the predicate., utf8-stringSplit a string into two parts: the first is the longest prefix that contains only characters that do not satisfy the predicate; the second part is the rest of the string. Invalid characters are passed as  '\0xFFFD' to the predicate.- utf8-stringGet the first character of a byte string, if any. Malformed characters are replaced by  '\0xFFFD'.. utf8-string%Traverse a bytestring (right biased)./ utf8-stringTraverse a bytestring (left biased). This function is strict in the accumulator.0 utf8-stringCounts the number of characters encoded in the bytestring. Note that this includes replacement characters.1 utf8-string>Split a string into a list of lines. Lines are terminated by '\n' or the end of the string. Empty lines may not be terminated by the end of the string. See also 2.2 utf8-string>Split a string into a list of lines. Lines are terminated by '\n' or the end of the string. Empty lines may not be terminated by the end of the string. This function preserves the terminators. See also 1.$%&'()*+,-./012'&-()*+,$%/.012(c) Iavor S. Diatchki 2009BSD3-style (see LICENSE)emertens@galois.com experimentalportable This module provides fast, validated encoding and decoding functions between 'ByteString's and 'String's. It does not exactly match the output of the Codec.Binary.UTF8.String output for invalid encodings as the number of replacement characters is sometimes longer. Trustworthy%3 utf8-string7Converts a Haskell char into a UTF8 encoded bytestring.4 utf8-string9Converts a Haskell string into a UTF8 encoded bytestring.5 utf8-stringConvert a UTF8 encoded bytestring into a Haskell string. Invalid characters are replaced with  '\0xFFFD'.6 utf8-string?This character is used to mark errors in a UTF8 encoded string.7 utf8-string8Try to extract a character from a byte string. Returns _ if there are no more bytes in the byte string. Otherwise, it returns a decoded character and the number of bytes used in its representation. Errors are replaced by character  '\0xFFFD'.8 utf8-stringSplit after a given number of characters. Negative values are treated as if they are 0.9 utf8-stringtake n s returns the first n characters of s. If s has less than n) characters, then we return the whole of s.: utf8-stringdrop n s returns the s without its first n characters. If s has less than n, characters, then we return an empty string.; utf8-stringSplit a string into two parts: the first is the longest prefix that contains only characters that satisfy the predicate; the second part is the rest of the string. Invalid characters are passed as  '\0xFFFD' to the predicate.< utf8-stringSplit a string into two parts: the first is the longest prefix that contains only characters that do not satisfy the predicate; the second part is the rest of the string. Invalid characters are passed as  '\0xFFFD' to the predicate.= utf8-stringGet the first character of a byte string, if any. Malformed characters are replaced by  '\0xFFFD'.> utf8-string%Traverse a bytestring (right biased).? utf8-stringTraverse a bytestring (left biased). This function is strict in the accumulator.@ utf8-stringCounts the number of characters encoded in the bytestring. Note that this includes replacement characters.A utf8-string>Split a string into a list of lines. Lines are terminated by '\n' or the end of the string. Empty lines may not be terminated by the end of the string. See also B.B utf8-string>Split a string into a list of lines. Lines are terminated by '\n' or the end of the string. Empty lines may not be terminated by the end of the string. This function preserves the terminators. See also A.3456789:;<=>?@AB76=89:;<345?>@AB(c) Iavor S. Diatchki 2009BSD3-style (see LICENSE)emertens@galois.com experimentalportable Trustworthy1TC utf8-stringThe type of strings that are represented using the UTF8 encoding. The parameter is the type of the container for the representation.F utf8-stringConverts a Haskell string into a UTF8 encoded string. Complexity: linear.G utf8-stringConvert a UTF8 encoded string into a Haskell string. Invalid characters are replaced by . Complexity: linear.H utf8-stringChecks if there are no more bytes in the underlying representation.I utf8-stringSplit after a given number of characters. Negative values are treated as if they are 0.J utf8-stringSplit after a given number of bytes in the underlying representation. See also I.K utf8-stringTake only the given number of bytes from the underlying representation. See also M.L utf8-stringDrop the given number of bytes from the underlying representation. See also N.M utf8-stringtake n s returns the first n characters of s. If s has less than n) characters, then we return the whole of s.N utf8-stringdrop n s returns the s without its first n characters. If s has less than n, characters, then we return an empty string.O utf8-stringSplit a string into two parts: the first is the longest prefix that contains only characters that satisfy the predicate; the second part is the rest of the string. Invalid characters are passed as  '\0xFFFD' to the predicate.P utf8-stringSplit a string into two parts: the first is the longest prefix that contains only characters that do not satisfy the predicate; the second part is the rest of the string. Invalid characters are passed as  to the predicate.Q utf8-stringGet the first character of a byte string, if any. Invalid characters are replaced by .R utf8-stringExtract the first character for the underlying representation, if one is available. It also returns the number of bytes used in the representation of the character. See also Q.S utf8-string%Traverse a bytestring (right biased).T utf8-stringTraverse a bytestring (left biased). This function is strict in the accumulator.U utf8-stringCounts the number of characters encoded in the bytestring. Note that this includes replacement characters. The function is linear in the number of bytes in the representation.V utf8-string>Split a string into a list of lines. Lines are terminated by '\n' or the end of the string. Empty lines may not be terminated by the end of the string. See also W.W utf8-string>Split a string into a list of lines. Lines are terminated by '\n' or the end of the string. Empty lines may not be terminated by the end of the string. This function preserves the terminators. See also V. CDEFGHIJKLMNOPQRSTUVWC FGDEQIMNOPTSUVWHRJKL      !"#$%&'()* !"#$%&'+ !"#$%&',-./01 !"#$%&'23456789:;6<=6>?(utf8-string-1.0.2-Eakw37tVRY3EAjOzbvKZpgData.ByteString.Lazy.UTF8Data.ByteString.UTF8Codec.Binary.UTF8.StringCodec.Binary.UTF8.GenericData.String.UTF8bytestring-0.10.10.0Data.ByteString.Lazy.Internal ByteStringData.ByteString.Internal encodeString decodeString encodeCharencodedecode utf8Encode isUTF8Encoded UTF8Bytesbsplitbdropbuncons elemIndexemptynullpacktail fromStringtoStringreplacement_charsplitAttakedropspanbreakunconsfoldrfoldllengthlineslines'$fUTF8Bytes[]Int$fUTF8BytesByteStringInt64$fUTF8BytesByteStringIntfromCharUTF8fromReptoRep byteSplitAtbyteTakebyteDrop$fIsStringUTF8 $fShowUTF8$fEqUTF8 $fOrdUTF8baseGHC.BaseStringghc-prim GHC.TypesCharGHC.WordWord8 GHC.MaybeNothing