Safe Haskell | None |
---|---|
Language | Haskell2010 |
Basic actions
Using specialized actions
(%<~) :: forall r. Ring Add Mul r => r -> r -> r Source #
Locally use the left self-action induced by the multiplicative magma structure of the ring, whatever structure the user may have chosen to use globally.
a %<~ b = a * b
(~>%) :: forall r. Ring Add Mul r => r -> r -> r Source #
Locally use the right self-action induced by the multiplicative magma structure of the ring, whatever structure the user may have chosen to use globally.
b ~>% a = a * b