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

Yves Parès limestrael at gmail.com
Mon Jul 25 11:12:00 CEST 2011


2011/7/25 Paul R <paul.r.ml at gmail.com>

> Some references state that the monoid binary operation is often named
> "dot" or "times" in english. That does not mean the operator must be
> `dot`, `times`, (<.>) or (<x>) but at least the doc should provide
> a single, consistent and pronounceable name for it, whatever its
> spelling.
>

That is the problem when changing a function into an operator: the
pronunciation.
There should be a page somewhere that sums up how to pronounce the most
common operators.
>>= is "bind", ok, but how do you pronounce >> or <*>, for instance?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110725/0ce51c37/attachment.htm>


More information about the Haskell-Cafe mailing list