HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

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