Module

Data.Lens.Prism.Either

#_Left

_Left :: forall a b c. Prism (Either a c) (Either b c) a b

Prism for the Left constructor of Either.

#_Right

_Right :: forall a b c. Prism (Either c a) (Either c b) a b

Prism for the Right constructor of Either.

Re-exports from Data.Profunctor.Choice

#left

left :: forall p a b c. Choice p => p a b -> p (Either a c) (Either b c)

#right

right :: forall p a b c. Choice p => p b c -> p (Either a b) (Either a c)

Modules