Skip to content

Commit

Permalink
Fix ReadonlyRecord documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisFrezzato authored and gcanti committed Jul 1, 2020
1 parent 55d6f5e commit 99c045c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/modules/ReadonlyRecord.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ Added in v2.5.0

## getMonoid

Returns a `Semigroup` instance for records given a `Semigroup` instance for their values
Returns a `Monoid` instance for records given a `Semigroup` instance for their values

**Signature**

Expand Down
2 changes: 1 addition & 1 deletion src/ReadonlyRecord.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ export function getEq<A>(E: Eq<A>): Eq<ReadonlyRecord<string, A>> {
}

/**
* Returns a `Semigroup` instance for records given a `Semigroup` instance for their values
* Returns a `Monoid` instance for records given a `Semigroup` instance for their values
*
* @example
* import { semigroupSum } from 'fp-ts/lib/Semigroup'
Expand Down

0 comments on commit 99c045c

Please sign in to comment.