Skip to content

Commit b7fa476

Browse files
authored
Remove Monoid Semigroup Superclass Example (#361)
In Haskell, Semigroup is a superclass of Monoid since base-4.11.0.0, so this no longer needs to be highlighted as a difference from Haskell. https://hackage.haskell.org/package/base-4.12.0.0/docs/Data-Monoid.html
1 parent cdbed27 commit b7fa476

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

language/Differences-from-Haskell.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@ At the moment, it is not possible to declare default member implementations for
188188
Many type class hierarchies are more granular than in Haskell. For example:
189189

190190
* `Category` has a superclass `Semigroupoid` which provides `(<<<)`, and does not require an identity.
191-
* `Monoid` has a superclass `Semigroup`, which provides `(<>)`, and does not require an identity.
192191
* `Applicative` has a superclass `Apply`, which provides `(<*>)` and does not require an implementation for `pure`.
193192

194193
## Tuples

0 commit comments

Comments
 (0)