| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
Proarrow.Category.Monoidal.CopyDiscard
Documentation
class Monoidal k => CopyDiscard k where Source Github #
Minimal complete definition
Nothing
Methods
copy :: forall (a :: k). Ob a => a ~> (a ** a) Source Github #
default copy :: forall (a :: k). (Supplies k (Comonoid :: k -> Constraint), Ob a) => a ~> (a ** a) Source Github #
discard :: forall (a :: k). Ob a => a ~> (Unit :: k) Source Github #