
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? Thanks titto -- Pasqualino "Titto" Assini, Ph.D. http://quicquid.org/

On Mon, 2009-09-28 at 14:16 +0100, Titto Assini wrote:
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?
I would use the text package because in my opinion it has a better API. It is the hope of several of us that the text package will become the standard Unicode counterpart to ByteString and be included in the platform. Duncan

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
participants (3)
-
Don Stewart
-
Duncan Coutts
-
Titto Assini