regex-pderiv-0.2.0: Replaces/Enhances Text.Regex. Implementing regular expression matching using Antimirov's partial derivatives.

Safe HaskellSafe
LanguageHaskell98

Text.Regex.PDeriv.Word

Synopsis

Documentation

class Word a where Source #

the Word type class

Minimal complete definition

uncons, take, drop, empty, reverse, append, length

Methods

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

take :: Int -> a -> a Source #

drop :: Int -> a -> a Source #

empty :: a Source #

reverse :: a -> a Source #

append :: a -> a -> a Source #

length :: a -> Int Source #