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
In: Functors, Applicative Functors and Monoids it described Monoids as having a minimal definition of mempty and mappend. Nowadays one has to define the Semigroup first and then define just mempty to create a Monoid. So people should not manually define mappend anymore. Perhaps a section on Semigroups can be created out of the existing sectiom for Monoids?
The text was updated successfully, but these errors were encountered:
Also, we should in general replace any mention of mappend with <> since the book mostly uses mappend in infix form anyways and this note in the Prelude docs about GHC supposedly removing mappend in some future release.
In: Functors, Applicative Functors and Monoids it described Monoids as having a minimal definition of
mempty
andmappend
. Nowadays one has to define the Semigroup first and then define justmempty
to create a Monoid. So people should not manually definemappend
anymore. Perhaps a section on Semigroups can be created out of the existing sectiom for Monoids?The text was updated successfully, but these errors were encountered: