Module

Data.Lens.Internal.Forget

Package
purescript-profunctor-lenses
Repository
purescript-contrib/purescript-profunctor-lenses

#Forget Source

newtype 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