Skip to content

Commit a448761

Browse files
Merge pull request #275 from davidchambers/group
fix Group laws
2 parents 9d5eaa8 + e6be33c commit a448761

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -312,14 +312,15 @@ Given a value `m`, one can access its type representative via the
312312
A value that implements the Group specification must also implement
313313
the [Monoid](#monoid) specification.
314314

315-
1. `g.concat(g.invert())` is equivalent to `g.empty()` (right inverse)
316-
2. `g.invert().concat(g)` is equivalent to `g.empty()` (left inverse)
315+
1. `g.concat(g.invert())` is equivalent to `g.constructor.empty()` (right inverse)
316+
2. `g.invert().concat(g)` is equivalent to `g.constructor.empty()` (left inverse)
317317

318318
#### `invert` method
319319

320320
```hs
321321
invert :: Group g => g ~> () -> g
322322
```
323+
323324
A value which has a Group must provide an `invert` method. The
324325
`invert` method takes no arguments:
325326

0 commit comments

Comments
 (0)