|
|
|
Description |
WARNING: This module is not intended for use outside the TagSoup library.
This module provides an abstraction for String's as used inside TagSoup. It allows
TagSoup to work with String (list of Char), ByteString.Char8 and ByteString.Lazy.Char8.
|
|
Synopsis |
|
|
|
Documentation |
|
|
A class to generalise TagSoup parsing over many types of string-like types.
Examples are given for the String type.
| | Methods | | empty = ""
| | | cons = (:)
| | | uncons [] = Nothing
uncons (x:xs) = Just (x, xs)
| | | toString = id
| | | fromString = id
| | | fromChar = return
| | | strConcat = concat
| | | strNull = null
| | | append = (++)
|
|
|
|
|
Convert a String from one type to another.
|
|
Produced by Haddock version 2.6.0 |