Module

Control.Selective.ComposeI

Package
purescript-selective-functors
Repository
artemisSystem/purescript-selective-functors

#ComposeI Source

newtype ComposeI :: forall k1 k2. (k2 -> Type) -> (k1 -> k2) -> k1 -> Typenewtype ComposeI f g a

This newtype provides a Select instance for Compose. It "lifts" the Selective g into the Applicative f. In other words, it composes an outer Applicative and an inner Selective.

Constructors

Instances