Haskell Core Libraries (base package)ParentContentsIndex
Control.Monad.Monoid
Portability non-portable ( requires mulit-parameter type classes )
Stability experimental
Maintainer libraries@haskell.org
Description

Declaration of the Monoid class,and instances for list and functions

Inspired by the paper Functional Programming with Overloading and Higher-Order Polymorphism, Mark P Jones (http://www.cse.ogi.edu/~mpj) Advanced School of Functional Programming, 1995.

class Monoid a where
Methods
mempty :: a
mappend :: a -> a -> a
mconcat :: [a] -> a
Instances
Monoid [a]
Monoid (a -> a)
Monoid ()
Produced by Haddock version 0.4