hxt-regex-xmlschema-9.2.0: A regular expression library for W3C XML Schema regular expressions

Stabilitystable
MaintainerUwe Schmidt <uwe@fh-wedel.de>
Safe HaskellSafe-Inferred

Text.Regex.XMLSchema.Generic.StringLike

Description

 

Synopsis

Documentation

class (Eq a, IsString a, Show a) => StringLike a whereSource

WARNING: This StringLike class is not intended for use outside this regex library. It provides an abstraction for String's as used inside this library. It allows the library to work with String (list of Char), ByteString.Char8, ByteString.Lazy.Char8, Data.Text and Data.Text.Lazy.

The class is similar to the StringLike class in the tagsoup package

Methods

emptyS :: aSource

uncons :: a -> Maybe (Char, a)Source

nullS :: a -> BoolSource

headS :: a -> CharSource

takeS :: Int -> a -> aSource

dropS :: Int -> a -> aSource

appendS :: a -> a -> aSource

concatS :: [a] -> aSource

toString :: a -> StringSource

Instances

StringLike String 
StringLike ByteString 
StringLike ByteString 
StringLike Text 
StringLike Text