
15 Nov
2006
15 Nov
'06
4:47 a.m.
On Wed, 15 Nov 2006 00:21:55 +0000
Duncan Coutts
On Tue, 2006-11-14 at 14:53 -0800, Jason Dagit wrote:
On 11/14/06, Bulat Ziganshin
wrote: Hello Malcolm,
Tuesday, November 14, 2006, 8:49:31 PM, you wrote:
involved, which is why I choose a different route. I am open to further ideas about how to best achieve a similar effect (i.e. ByteString ops available, but minimal code duplication).
For minimal code duplication make it generate ByteString internally and have the String version just call pack/unpack. If I remember correctly, unpack is lazy (and if it isn't, it should be).
That way, I'm afraid you lose the ability to handle characters outside Latin-1. Regards, Takano Akio