| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
Proarrow.Profunctor.Constant
Documentation
data family Constant :: k -> j +-> k Source Github #
Instances
view :: forall {k} (c :: (k -> k -> Type) -> Constraint) (s :: k) (a :: k). (CategoryOf k, Ob a => c (Rep (Constant a))) => Optic' c s a -> s ~> a Source Github #
(^.) :: forall (c :: (Type -> Type -> Type) -> Constraint) a s. c (Rep (Constant a)) => s -> Optic' c s a -> a infixl 8 Source Github #