Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- class Pointed p where
- point :: p
- newtype PointedMonoid m = PointedMonoid {
- runPointedMonoid :: m
Documentation
class Pointed p where Source #
Class of pointed sets
Instances
Monoid m => Pointed (PointedMonoid m) Source # | |
Defined in Data.Algebra.Pointed point :: PointedMonoid m Source # | |
Pointed (Maybe a) Source # | |
Defined in Data.Algebra.Pointed |
newtype PointedMonoid m Source #
Monoid
should be a subclass of Pointed
.