You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Monoid is perhaps the most core and widespread type class which is currently missing from the course. A module should be added on it.
Perhaps we should also add a module on Semigroup, in which case we should add NonEmptyList to differentiate them. If we do this, we should change the some exercise in the alternative module to return NonEmpty
Discussion point: Should we first introduce Semigroup then Monoid, following the hierarchy? I think it might be more enlightening to teach Monoid first - the more key abstraction - and then move on to Semigroup to answer the question "what happens without mempty".
The text was updated successfully, but these errors were encountered:
Monoid
is perhaps the most core and widespread type class which is currently missing from the course. A module should be added on it.Perhaps we should also add a module on
Semigroup
, in which case we should addNonEmptyList
to differentiate them. If we do this, we should change thesome
exercise in the alternative module to returnNonEmpty
Discussion point: Should we first introduce Semigroup then Monoid, following the hierarchy? I think it might be more enlightening to teach Monoid first - the more key abstraction - and then move on to Semigroup to answer the question "what happens without mempty".
The text was updated successfully, but these errors were encountered: