free-algebras-0.0.5.1: Free algebras in Haskell.

Safe HaskellSafe
LanguageHaskell2010

Data.Algebra.Pointed

Synopsis

Documentation

class Pointed p where Source #

Class of pointed sets

Minimal complete definition

point

Methods

point :: p Source #

Instances
Pointed (Maybe a) Source # 
Instance details

Defined in Data.Algebra.Pointed

Methods

point :: Maybe a Source #

Monoid m => Pointed (PointedMonoid m) Source # 
Instance details

Defined in Data.Algebra.Pointed

newtype PointedMonoid m Source #

Monoid should be a subclass of Pointed.

Constructors

PointedMonoid 

Fields

Instances
Functor PointedMonoid Source # 
Instance details

Defined in Data.Algebra.Pointed

Methods

fmap :: (a -> b) -> PointedMonoid a -> PointedMonoid b #

(<$) :: a -> PointedMonoid b -> PointedMonoid a #

Eq m => Eq (PointedMonoid m) Source # 
Instance details

Defined in Data.Algebra.Pointed

Ord m => Ord (PointedMonoid m) Source # 
Instance details

Defined in Data.Algebra.Pointed

Show m => Show (PointedMonoid m) Source # 
Instance details

Defined in Data.Algebra.Pointed

Semigroup m => Semigroup (PointedMonoid m) Source # 
Instance details

Defined in Data.Algebra.Pointed

Monoid m => Monoid (PointedMonoid m) Source # 
Instance details

Defined in Data.Algebra.Pointed

Monoid m => Pointed (PointedMonoid m) Source # 
Instance details

Defined in Data.Algebra.Pointed