| Copyright | (C) 2012-2015 Edward Kmett |
|---|---|
| License | BSD-style (see the file LICENSE) |
| Maintainer | Edward Kmett <ekmett@gmail.com> |
| Stability | provisional |
| Portability | non-portable |
| Safe Haskell | Safe |
| Language | Haskell98 |
Control.Lens.Internal.Getter
Description
- coerce :: (Contravariant f, Functor f) => f a -> f b
- noEffect :: (Contravariant f, Applicative f) => f a
- newtype AlongsideLeft f b a = AlongsideLeft {
- getAlongsideLeft :: f (a, b)
- newtype AlongsideRight f a b = AlongsideRight {
- getAlongsideRight :: f (a, b)
Documentation
coerce :: (Contravariant f, Functor f) => f a -> f b Source
noEffect :: (Contravariant f, Applicative f) => f a Source
The mempty equivalent for a Contravariant Applicative Functor.
newtype AlongsideLeft f b a Source
Constructors
| AlongsideLeft | |
Fields
| |
Instances
newtype AlongsideRight f a b Source
Constructors
| AlongsideRight | |
Fields
| |
Instances