Safe Haskell | Safe |
---|---|
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
Pointed (Maybe a) Source # | |
Defined in Data.Algebra.Pointed | |
Monoid m => Pointed (PointedMonoid m) Source # | |
Defined in Data.Algebra.Pointed point :: PointedMonoid m Source # |
newtype PointedMonoid m Source #
Monoid
should be a subclass of Pointed
.