Control.Monad.Monoid

| Haskell Core Libraries (base package) | Parent | Contents | Index
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
mconcat :: [a] -> a
mappend :: a -> a -> a
mempty :: a
Instances
Monoid [a]
Monoid (a -> a)
Monoid ()
Produced by Haddock version 0.3