TypeCompose-0.9.12: Type composition classes & instances

Copyright(c) Conal Elliott 2007
LicenseBSD3
Maintainerconal@conal.net
Stabilityexperimental
Portabilitysynonym instance
Safe HaskellNone
LanguageHaskell98

Data.CxMonoid

Description

Context-dependent monoids

Synopsis

Documentation

type MonoidDict a = (a, a -> a -> a) Source #

Dictionary for CxMonoid.

newtype CxMonoid a Source #

Type of context-dependent monoid. Includes an explicit dictionary.

Constructors

CxMonoid 

Fields

Instances

biCxMonoid :: (MonoidDict a -> a) :<->: CxMonoid a Source #

newtype bijection