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

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

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