git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Merge pull request #925 from pseudonom/patch-1

Specified identity elements in semiring description

commit7caa01d9fd1a0a517aa393e4e8f1fcd0fa53c075 authorGary Burgess <gary.burgess@gmail.com> dateSat 28 Feb 2015, 20:58 (12 years ago) parent51823aeeaf014e
1 file changed+2−2
prelude/README.md+2−2
prelude/README.md+2−2
@@ -384,8 +384,8 @@ class Semiring a where
384384
385385Addition and multiplication, satisfying the following laws:
386386
387−- `a` is a commutative monoid under addition
388−- `a` is a monoid under multiplication
387+- `a` is a commutative monoid under addition with identity element zero
388+- `a` is a monoid under multiplication with identity element one
389389- multiplication distributes over addition
390390- multiplication by `zero` annihilates `a`
391391