[Haskell-cafe] unicode text libraries
Johan Tibell
johan.tibell at gmail.com
Mon Sep 28 12:32:07 EDT 2009
On Mon, Sep 28, 2009 at 6:15 PM, Don Stewart <dons at galois.com> wrote:
> tittoassini:
>> 2009/9/28 Don Stewart <dons at galois.com>:
>> > titto:
>> >> Hi,
>> >>
>> >> I am looking for an unicode strings library, I found on hackage:
>> >>
>> >> http://hackage.haskell.org/package/compact-string
>> >>
>> >> http://hackage.haskell.org/package/text
>> >>
>> >> They both look solid and functionally complete so ... I don't know which
>> >> one to use :-)
>> >>
>> >> As I am sure I am not the first one facing this choice, may I ask
>> >> which one you preferred and why?
>>
>> > Data.Text
>>
>> Thanks , but .. why?
>
> Sorry, was on the way out the door. Data.Text has growing use, is well
> designed, and builds on the pedigree of bytestring and the vector*
> series of fusion libraries. I trust that code.
I agree with Don. Also, I don't think that a Unicode type should
mention what encoding it uses as it's an implementation detail.
-- Johan
More information about the Haskell-Cafe
mailing list