Copyright | Copyright (C) 2014- Uwe Schmidt |
---|---|
License | MIT |
Maintainer | Uwe Schmidt <uwe@fh-wedel.de> |
Stability | stable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
class (Eq a, IsString a, Show a) => StringLike a where Source #
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
uncons :: a -> Maybe (Char, a) Source #
takeS :: Int -> a -> a Source #
dropS :: Int -> a -> a Source #