|
Re: Data.ByteString candidate 3: msg#00171lang.haskell.libraries
Ketil Malde <ketil+haskell@xxxxxxxxx> writes: > I've now added a Latin1 module, that works like Char8, but where And now there's an ASCII module, which instead of storing bytes > 127 in the latin1 range, puts them in the "private" area of 0xF000..0xF07F. This way, they won't be affected by other Char functions depending on case etc. Packing Chars outside of this area is still an error (i.e. no 8 bit truncation) IMHO this is the correct way to provide a Char interface to ASCII (albeit at a performance penalty), but I simply can't wait to hear what other people have to say about the matter. :-) -k -- If I haven't seen further, it is by standing in the footprints of giants |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Data.ByteString candidate 3: 00171, Ketil Malde |
|---|---|
| Next by Date: | Re: implementation of UTF-8 conversion for text I/O: iconv vs hand-made: 00171, Graham Klyne |
| Previous by Thread: | Re: Data.ByteString candidate 3i: 00171, Ketil Malde |
| Next by Thread: | Re: Data.ByteString candidate 3: 00171, John Meacham |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |