Skip to content

Commit

Permalink
Magma: add link to Semigroup, closes #1114
Browse files Browse the repository at this point in the history
  • Loading branch information
gcanti committed Feb 13, 2020
1 parent 99265cf commit caff0d3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/modules/Magma.ts.md
Expand Up @@ -8,6 +8,8 @@ parent: Modules

A `Magma` is a pair `(A, concat)` in which `A` is a non-empty set and `concat` is a binary operation on `A`

See [Semigroup](https://gcanti.github.io/fp-ts/modules/Semigroup.ts.html) for some instances.

Added in v2.0.0

---
Expand All @@ -22,6 +24,8 @@ Added in v2.0.0

A `Magma` is a pair `(A, concat)` in which `A` is a non-empty set and `concat` is a binary operation on `A`

See [Semigroup](https://gcanti.github.io/fp-ts/modules/Semigroup.ts.html) for some instances.

**Signature**

```ts
Expand Down
2 changes: 2 additions & 0 deletions src/Magma.ts
@@ -1,6 +1,8 @@
/**
* A `Magma` is a pair `(A, concat)` in which `A` is a non-empty set and `concat` is a binary operation on `A`
*
* See [Semigroup](https://gcanti.github.io/fp-ts/modules/Semigroup.ts.html) for some instances.
*
* @since 2.0.0
*/
export interface Magma<A> {
Expand Down

0 comments on commit caff0d3

Please sign in to comment.