Copyright | (c) Eric Mertens 2021 |
---|---|
License | ISC |
Maintainer | emertens@gmail.com |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- class Monoid a => Group a where
- inverse :: a -> a
- class Semigroup b => RightAction a b where
- rightAction :: a -> b -> a
- data a ><| b = a :><| b
Documentation
class Monoid a => Group a where Source #
Instances
KnownNat n => Group (Permutation n) Source # | |
Defined in Advent.Permutation inverse :: Permutation n -> Permutation n Source # | |
Fractional a => Group (Product a) Source # | |
Num a => Group (Sum a) Source # | |
class Semigroup b => RightAction a b where Source #
rightAction :: a -> b -> a Source #