[Haskell-cafe] For class Monoid; better names than mempty & mappend might have been: mid (mident) & mbinop

KC kc1956 at gmail.com
Mon Aug 8 16:56:27 CEST 2011


> As pointed out earlier in this list, the name of the class and the methods
> are inconsistent.
> Monoid refers to a general algebraic structure, whereas
> mempty and mappend refer to certain instances like lists.
>

Thank you for articulating what I was trying to get at.


-- 
--
Regards,
KC



More information about the Haskell-Cafe mailing list