Safe Haskell | None |
---|---|
Language | Haskell2010 |
Formation
Introduction
Elimination
review :: Is k A_Review => Optic' k is t b -> b -> t Source #
Retrieve the value targeted by a Review
.
>>>
review _Left "hi"
Left "hi"
Computation
Subtyping
data A_Review :: OpticKind Source #
Tag for a review.
Instances
ReversibleOptic A_Review Source # | |
Defined in Optics.Re type ReversedOptic A_Review = (r :: Type) Source # re :: AcceptsEmptyIndices "re" is => Optic A_Review is s t a b -> Optic (ReversedOptic A_Review) is b a t s Source # | |
Is A_ReversedLens A_Review Source # | |
Defined in Optics.Internal.Optic.Subtyping implies :: proxy A_ReversedLens A_Review p -> (Constraints A_ReversedLens p -> r) -> Constraints A_Review p -> r Source # | |
Is A_Prism A_Review Source # | |
Defined in Optics.Internal.Optic.Subtyping implies :: proxy A_Prism A_Review p -> (Constraints A_Prism p -> r) -> Constraints A_Review p -> r Source # | |
Is An_Iso A_Review Source # | |
Defined in Optics.Internal.Optic.Subtyping implies :: proxy An_Iso A_Review p -> (Constraints An_Iso p -> r) -> Constraints A_Review p -> r Source # | |
type ReversedOptic A_Review Source # | |
Defined in Optics.Re |