plankton-0.0.0.1: The core of a numeric prelude, taken from numhask

Safe HaskellSafe
LanguageHaskell2010

Plankton.Distribution

Description

Distribution avoids a name clash with Distributive

Synopsis

Documentation

class (Additive a, MultiplicativeMagma a) => Distribution a Source #

Distribution (and annihilation) laws

a * (b + c) == a * b + a * c
(a + b) * c == a * c + b * c
a * zero == zero
zero * a == zero