Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Data.Core.SemigroupAction
Description
Semigroup action *
is an operator where \(s_2 * (s_1 * a) == (s_2 \diamond s_1) * a\) holds.
Synopsis
- class SemigroupAction s a where
- sact :: s -> a -> a
- sactTimes :: (Semigroup s, SemigroupAction s a) => Int -> s -> a -> a
Documentation
class SemigroupAction s a where #
Right semigroup aciton.