[Haskell-cafe] Please add a method for optimized concat to the Semigroup class

Yitzchak Gale gale at sefer.org
Tue May 31 09:47:55 CEST 2011


Edward Kmett wrote:
> I felt I should probably mention that ultimately what was done is I moved
> NonEmpty all the way down into semigroups and chose
>> sconcat :: NonEmpty a -> a
> at it was the closest analogue to the current mconcat behavior.
> So, request accomodated. ;)

Indeed, this is an excellent solution. Thanks!

-Yitz



More information about the Haskell-Cafe mailing list