Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Tag for a getter.
Instances
ReversibleOptic A_Getter # | |
Defined in Optics.Internal.Re type ReversedOptic A_Getter :: OpticKind # | |
Is A_Getter A_Fold # | |
Is A_Getter An_AffineFold # | |
Defined in Optics.Internal.Optic.Subtyping implies :: proxy A_Getter An_AffineFold p -> (Constraints A_Getter p -> r) -> Constraints An_AffineFold p -> r | |
Is A_PrismaticGetter A_Getter # | |
Defined in Optics.Internal.Optic.Subtyping implies :: proxy A_PrismaticGetter A_Getter p -> (Constraints A_PrismaticGetter p -> r) -> Constraints A_Getter p -> r | |
Is A_Lens A_Getter # | |
Is An_Iso A_Getter # | |
Is An_Equality A_Getter # | |
Defined in Optics.Internal.Optic.Subtyping implies :: proxy An_Equality A_Getter p -> (Constraints An_Equality p -> r) -> Constraints A_Getter p -> r | |
ViewableOptic A_Getter r # | |
Defined in Optics.Internal.View type ViewResult A_Getter r :: * # | |
type ReversedOptic A_Getter # | |
Defined in Optics.Internal.Re | |
type ViewResult A_Getter r # | |
Defined in Optics.Internal.View |
toGetter :: Is k A_Getter => Optic' k is s a -> Optic' A_Getter is s a #
Explicitly cast an optic to a getter.
module Optics.Optic