Copyright | (c) Andy Gill 2001, (c) Oregon Graduate Institute of Science and Technology 2001 |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | [email protected] |
Stability | experimental |
Portability | portable |
Safe Haskell | Trustworthy |
Language | Haskell2010 |
The identity functor and monad.
This trivial type constructor serves two purposes:
Identity
. For example, State s
is an abbreviation for StateT s Identity
.Since: 4.8.0.0
Identity functor and monad. (a non-strict monad)
Since: 4.8.0.0
Identity | |
Fields
|
Monad Identity | |
Functor Identity | |
MonadFix Identity | |
Applicative Identity | |
Foldable Identity | |
Traversable Identity | |
Generic1 Identity | |
MonadZip Identity | |
Eq a => Eq (Identity a) | |
Data a => Data (Identity a) | |
Ord a => Ord (Identity a) | |
Read a => Read (Identity a) | This instance would be equivalent to the derived instances of the |
Show a => Show (Identity a) | This instance would be equivalent to the derived instances of the |
Generic (Identity a) | |
type Rep1 Identity | |
type Rep (Identity a) |
© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/7.10.3/docs/html/libraries/base-4.8.2.0/Data-Functor-Identity.html