Proposal: generalise Monoid's mconcat
qdunkan at gmail.com
Tue Sep 1 15:09:35 UTC 2015
On Tue, Sep 1, 2015 at 3:39 AM, Fumiaki Kinoshita <fumiexcel at gmail.com>
> I would rather propose removing mconcat from Monoid. I've never seen
> mconcat defined.
I define mconcat all the time. For example, for appending computations you
can fork based on the number of elements, or thread state differently. And
not just me, array libraries like Data.Vector, ByteString, Text, and I
expect Data.Array use it.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libraries