Module

Data.Lens.Lens.Tuple

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

#_1 Source

_1 :: forall a b c. Lens (Tuple a c) (Tuple b c) a b

Lens for the first component of a Tuple.

#_2 Source

_2 :: forall a b c. Lens (Tuple c a) (Tuple c b) a b

Lens for the second component of a Tuple.

Re-exports from Data.Profunctor.Strong

#first Source

first :: forall p a b c. Strong p => p a b -> p (Tuple a c) (Tuple b c)

#second Source

second :: forall p a b c. Strong p => p b c -> p (Tuple a b) (Tuple a c)