HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Moduletransformers-0.6.1.1Haskell2010

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