Maintainer | bastiaan.heeren@ou.nl |
---|---|
Stability | provisional |
Portability | portable (depends on ghc) |
Safe Haskell | None |
Language | Haskell98 |
- newtype Smart a = Smart {
- fromSmart :: a
- newtype SmartZero a = SmartZero {
- fromSmartZero :: a
- newtype SmartGroup a = SmartGroup {
- fromSmartGroup :: a
- newtype SmartField a = SmartField {
- fromSmartField :: a
- (.+.) :: (CoField a, Field a) => a -> a -> a
- (.-.) :: (CoField a, Field a) => a -> a -> a
- neg :: (CoField a, Field a) => a -> a
- (.*.) :: (CoField a, Field a) => a -> a -> a
- (./.) :: (CoField a, Field a) => a -> a -> a
- (.&&.) :: (Boolean a, CoBoolean a) => a -> a -> a
- (.||.) :: (Boolean a, CoBoolean a) => a -> a -> a
Smart datatypes
Functor Smart Source | |
Applicative Smart Source | |
Eq a => Eq (Smart a) Source | |
Ord a => Ord (Smart a) Source | |
Show a => Show (Smart a) Source | |
(CoMonoid a, Monoid a) => Monoid (Smart a) Source | |
CoMonoidZero a => CoMonoidZero (Smart a) Source | |
CoMonoid a => CoMonoid (Smart a) Source | |
(CoMonoid a, MonoidZero a) => MonoidZero (Smart a) Source | |
(Boolean a, CoBoolean a) => Boolean (Smart a) Source | |
BoolValue a => BoolValue (Smart a) Source |
SmartZero | |
|
Functor SmartZero Source | |
Applicative SmartZero Source | |
Eq a => Eq (SmartZero a) Source | |
Ord a => Ord (SmartZero a) Source | |
Show a => Show (SmartZero a) Source | |
(CoMonoidZero a, MonoidZero a) => Monoid (SmartZero a) Source | |
CoMonoidZero a => CoMonoidZero (SmartZero a) Source | |
CoMonoid a => CoMonoid (SmartZero a) Source | |
(CoMonoidZero a, MonoidZero a) => MonoidZero (SmartZero a) Source |
newtype SmartGroup a Source
SmartGroup | |
|
Functor SmartGroup Source | |
Applicative SmartGroup Source | |
Eq a => Eq (SmartGroup a) Source | |
Ord a => Ord (SmartGroup a) Source | |
Show a => Show (SmartGroup a) Source | |
(CoGroup a, Group a) => Monoid (SmartGroup a) Source | |
CoMonoidZero a => CoMonoidZero (SmartGroup a) Source | |
CoGroup a => CoGroup (SmartGroup a) Source | |
CoMonoid a => CoMonoid (SmartGroup a) Source | |
(CoGroup a, MonoidZero a, Group a) => MonoidZero (SmartGroup a) Source | |
(CoGroup a, Group a) => Group (SmartGroup a) Source |
newtype SmartField a Source
SmartField | |
|
Functor SmartField Source | |
Applicative SmartField Source | |
CoField a => CoField (SmartField a) Source | |
CoRing a => CoRing (SmartField a) Source | |
CoSemiRing a => CoSemiRing (SmartField a) Source | |
(CoField a, Field a) => Field (SmartField a) Source | |
(CoField a, Field a) => Ring (SmartField a) Source | |
(CoField a, Field a) => SemiRing (SmartField a) Source |