[Haskell-cafe] Re: PROPOSAL: New efficient Unicode string library.

Aaron Denney wnoise at ofb.net
Thu Sep 27 04:36:40 EDT 2007


On 2007-09-27, Ross Paterson <ross at soi.city.ac.uk> wrote:
> On Thu, Sep 27, 2007 at 07:26:07AM +0000, Aaron Denney wrote:
>> On 2007-09-27, Ross Paterson <ross at soi.city.ac.uk> wrote:
>> > Combining characters are not an issue here, just the surrogate pairs,
>> > because we're discussing representations of sequences of Chars (Unicode
>> > code points).
>> 
>> You'll never want to combine combining characters or vice-versa?  Never
>> want to figure out how much screen space a sequence will take?  It _is_
>> an issue.
>
> It's an issue for a higher layer, not for a compact String representation.

Yes, and no.  It's not something the lower layer should be doing, but
enabling the higher layers to do so efficiently is a concern.


-- 
Aaron Denney
-><-



More information about the Haskell-Cafe mailing list