Maintainer | bastiaan.heeren@ou.nl |
---|---|
Stability | provisional |
Portability | portable (depends on ghc) |
Safe Haskell | None |
Language | Haskell98 |
Representation for predicates
- data Predicate a
- predicate :: (a -> Bool) -> Predicate a
- predicateView :: View a b -> Predicate a
- evalPredicate :: Predicate a -> a -> Bool
- class BoolValue a where
- class BoolValue a => Boolean a where
- ands :: Boolean a => [a] -> a
- ors :: Boolean a => [a] -> a
- implies :: Boolean a => a -> a -> a
- equivalent :: Boolean a => a -> a -> a