Skip to content

Commit

Permalink
Merge pull request #4551 from vreuter/patch-1
Browse files Browse the repository at this point in the history
fix wording at end of Semigroup doc
  • Loading branch information
djspiewak authored Feb 3, 2024
2 parents c27e591 + b8cb620 commit 8842a5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/typeclasses/semigroup.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def combineAll[A: Semigroup](as: List[A]): A =
```

`Semigroup` isn't powerful enough for us to implement this function - namely, it doesn't give us an identity
or fallback value if the list is empty. We need a power expressive abstraction, which we can find in the
or fallback value if the list is empty. We need a more powerfully expressive abstraction, which we can find in the
`Monoid` type class.

N.B.
Expand Down

0 comments on commit 8842a5c

Please sign in to comment.