Portability | non-portable |
---|---|
Stability | experimental |
Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
Safe Haskell | None |
Documentation
Free Negable
.
Class to represent invertible values.
Must obey the double negation law: not (not x) = x
The negation appears only in leafs of normal forms, and the underlying proposition class
might have built-in negation, thus we use Negable
.
Negable Bool | |
Monoid m => Negable (Maybe m) | |
Negable (Neg a) | |
Negable (FreeBoolean a) | |
Negable a => Negable (NNF a) | |
(Ord a, Negable a) => Negable (DNF a) | |
(Ord a, Negable a) => Negable (CNF a) | |
(Ord a, Negable a) => Negable (NNF a) | |
Negable a => Negable (DNF a) | |
Negable a => Negable (CNF a) | |
(Negable a, Negable b) => Negable (Either a b) | |
(Negable a, Negable b) => Negable (a, b) |