algebra-0.4.0: Constructive abstract algebra

Numeric.Monoid.Multiplicative

Documentation

class Multiplicative r => Unital r whereSource

Methods

one :: rSource

pow :: Whole n => r -> n -> rSource

productWith :: Foldable f => (a -> r) -> f a -> rSource

Instances

product :: (Foldable f, Unital r) => f r -> rSource