Re: [Haskell-cafe] unicode text libraries

2009-09-29 Thread Duncan Coutts
On Tue, 2009-09-29 at 10:48 +0200, Ketil Malde wrote: > Johan Tibell writes: > > > 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. > > Right. I see from the documentation that it uses Word16s (and presumably >

Re: [Haskell-cafe] unicode text libraries

2009-09-29 Thread Ketil Malde
Johan Tibell writes: > 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. Right. I see from the documentation that it uses Word16s (and presumably the utf-16 encoding). Out of curiosity, why was this particular enc

Re: [Haskell-cafe] unicode text libraries, and the winner is ...

2009-09-29 Thread Pasqualino "Titto" Assini
By unanimous opinion the "text" library is the man. Thanks to all who answered. titto ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] unicode text libraries

2009-09-28 Thread Paulo Tanimoto
Hi Bryan and others, On Mon, Sep 28, 2009 at 5:29 PM, Bryan O'Sullivan wrote: > bytestring predates the other two libraries by several years. The underlying > stream type for uvector and text are almost the same, so they could in > principle be merged. There's a fair amount of duplication there,

Re: [Haskell-cafe] unicode text libraries

2009-09-28 Thread Bryan O'Sullivan
On Mon, Sep 28, 2009 at 3:00 PM, Alexander Dunlap < alexander.dun...@gmail.com> wrote: > I just have a question out of curiosity - why was the decision made to > have Data.Text, uvector, and ByteString all separate data structures, > rather than defining the string types in terms of uvector? > b

Re: [Haskell-cafe] unicode text libraries

2009-09-28 Thread Alexander Dunlap
On Mon, Sep 28, 2009 at 9:15 AM, Don Stewart wrote: > tittoassini: >> 2009/9/28 Don Stewart : >> > 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/pac

Re: [Haskell-cafe] unicode text libraries

2009-09-28 Thread Duncan Coutts
On Mon, 2009-09-28 at 18:32 +0200, Johan Tibell wrote: > On Mon, Sep 28, 2009 at 6:15 PM, Don Stewart wrote: > > tittoassini: > >> 2009/9/28 Don Stewart : > >> > titto: > >> >> Hi, > >> >> > >> >> I am looking for an unicode strings library, I found on hackage: > >> >> > >> >> http://hackage.hask

Re: [Haskell-cafe] unicode text libraries

2009-09-28 Thread Duncan Coutts
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

Re: [Haskell-cafe] unicode text libraries

2009-09-28 Thread Johan Tibell
On Mon, Sep 28, 2009 at 6:15 PM, Don Stewart wrote: > tittoassini: >> 2009/9/28 Don Stewart : >> > 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/pac

Re: [Haskell-cafe] unicode text libraries

2009-09-28 Thread Don Stewart
tittoassini: > 2009/9/28 Don Stewart : > > 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 comple

Re: [Haskell-cafe] unicode text libraries

2009-09-28 Thread Don Stewart
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

[Haskell-cafe] unicode text libraries

2009-09-28 Thread Titto Assini
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 thi