Copyright | (c) Masahiro Sakai 2011 |
---|---|
License | BSD-style |
Maintainer | masahiro.sakai@gmail.com |
Stability | provisional |
Portability | non-portable (FlexibleInstances, MultiParamTypeClasses, FunctionalDependencies) |
Safe Haskell | Safe |
Language | Haskell2010 |
Ordering relations
Relational operators
relational operators
flipOp :: RelOp -> RelOp Source #
flipping relational operator
rel (flipOp op) a b
is equivalent to rel op b a
negOp :: RelOp -> RelOp Source #
negating relational operator
rel (negOp op) a b
is equivalent to notB (rel op a b)
Relation
Atomic formula
Functor OrdRel Source # | |
IsOrdRel e (OrdRel e) Source # | |
IsEqRel e (OrdRel e) Source # | |
Eq e => Eq (OrdRel e) Source # | |
Ord e => Ord (OrdRel e) Source # | |
Show e => Show (OrdRel e) Source # | |
Variables e => Variables (OrdRel e) Source # | |
Complement (OrdRel c) Source # | |
IsOrdRel (Expr c) (Formula (Atom c)) Source # | |
IsEqRel (Expr c) (Formula (Atom c)) Source # | |
fromOrdRel :: IsOrdRel e r => OrdRel e -> r Source #