[Haskell-cafe] Please add instance Semigroup Text

Bryan O'Sullivan bos at serpentine.com
Tue May 3 18:04:12 CEST 2011


On Tue, May 3, 2011 at 8:00 AM, Yitzchak Gale <gale at sefer.org> wrote:

>
> Could you please add a Semigroup instance for Text?
>

I'd strongly recommend writing an instance for the text package's Builder
type instead. Vastly more efficient for non-trivial jobs.


> Once you're doing that, I suppose you'd also want to
> add it for lazy Text and both kinds of ByteStrings.
>

Likewise, there's allegedly work afoot to write a builder for bytestrings.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110503/420acf30/attachment.htm>


More information about the Haskell-Cafe mailing list