Module

Data.Lens.Internal.Forget

Package
profunctor-lenses
Repository
purerl/purescript-profunctor-lenses

#Forget Source

newtype Forget :: forall k. Type -> Type -> k -> Typenewtype Forget r a b

Profunctor that forgets the b value and returns (and accumulates) a value of type r.

Forget r is isomorphic to Star (Const r), but can be given a Cochoice instance.

Constructors

Instances