Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
- Used to implement Perl-shortcuts, BracketExpression-ranges & POSIX Character-classes.
Synopsis
- type Predicate a = a -> Bool
- data ShowablePredicate a = MkShowablePredicate {}
Types
Data-types
data ShowablePredicate a Source #
Container for both the predicate, & the name used in the implementation of Show
.
Instances
Eq (ShowablePredicate a) Source # | |
Defined in RegExDot.ShowablePredicate (==) :: ShowablePredicate a -> ShowablePredicate a -> Bool # (/=) :: ShowablePredicate a -> ShowablePredicate a -> Bool # | |
Show (ShowablePredicate a) Source # | |
Defined in RegExDot.ShowablePredicate showsPrec :: Int -> ShowablePredicate a -> ShowS # show :: ShowablePredicate a -> String # showList :: [ShowablePredicate a] -> ShowS # | |
NFData (ShowablePredicate a) Source # | |
Defined in RegExDot.ShowablePredicate rnf :: ShowablePredicate a -> () # |