Safe Haskell | Safe-Infered |
---|
- class Boolean a where
- (&&) :: a -> a -> a
- (||) :: a -> a -> a
- not :: a -> a
- top :: a
- bot :: a
- (<->) :: a -> a -> a
- (-->) :: a -> a -> a
- ite :: a -> a -> a -> a
- maj :: a -> a -> a -> a
- odd3 :: a -> a -> a -> a
- forall :: Foldable t => t e -> (e -> a) -> a
- exist :: Foldable t => t e -> (e -> a) -> a
- bigAnd :: Foldable t => t a -> a
- bigOr :: Foldable t => t a -> a
- class Boolean f => NGBoolean f a | f -> a where
- atom :: a -> f
- liftF :: (b -> b -> b) -> (a -> b) -> (a -> b) -> a -> b
- fm :: Boolean a => Bool -> a
- exactlyNone :: Boolean a => [a] -> a
- exactlyOne :: Boolean a => [a] -> a
- atmostOne :: Boolean a => [a] -> a
- oneOrThree :: Boolean a => a -> a -> a -> a
- twoOrThree :: Boolean a => a -> a -> a -> a
Documentation
class Boolean a where
liftF :: (b -> b -> b) -> (a -> b) -> (a -> b) -> a -> b
exactlyNone :: Boolean a => [a] -> a
exactlyOne :: Boolean a => [a] -> a
oneOrThree :: Boolean a => a -> a -> a -> a
demands that exacly one or all three formulas hold
twoOrThree :: Boolean a => a -> a -> a -> a
demands that exacly two or all three formulas hold.