RegExp
type RegExp = String -> Bool Source #
epsilon :: String -> Bool Source #
char :: Char -> RegExp Source #
(|||) :: RegExp -> RegExp -> RegExp Source #
(<*>) :: RegExp -> RegExp -> RegExp Source #
(<**>) :: RegExp -> RegExp -> RegExp Source #
splits :: [a] -> [([a], [a])] Source #
star :: RegExp -> RegExp Source #
fsplits :: [a] -> [([a], [a])] Source #
data RE Source #
Constructors
Defined in RegExp
Methods
showsPrec :: Int -> RE -> ShowS #
show :: RE -> String #
showList :: [RE] -> ShowS #
(==) :: RE -> RE -> Bool #
(/=) :: RE -> RE -> Bool #
evens :: RE Source #
two :: RE Source #
a :: RE Source #
b :: RE Source #
enumerate :: RE -> [String] Source #
interleave :: [a] -> [a] -> [a] Source #
cartesian :: [[a]] -> [[a]] -> [[a]] Source #
anbn :: RE Source #
plus :: RE -> RE Source #
simplify :: RE -> RE Source #
starC :: RE -> RE Source #