HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Moduletransformers-0.6.3.0Haskell2010

Control.Applicative.Lift

Adding a new kind of pure computation to an applicative functor.

  • 2 types
  • 6 values

Lifting an applicative

4 declarations
datadata Lift (f :: Type -> Type) a
#

Applicative functor formed by adding pure computations to a given applicative functor.

Constructors

Instances18Generic1, Functor, Applicative, Foldable, Traversable, Alternative, …
valuemapLift :: (f a -> g a) -> Lift f a -> Lift g a
#

Apply a transformation to the other computation.

Collecting errors

4 declarations