On Wed, Oct 19, 2005 at 11:36:03AM +0100, Simon Marlow wrote: > I believe I stole your UTF-8 code for my Data.PackedString.UTF8 version > (which Don uploaded here > http://www.cse.unsw.edu.au/~dons/packedstring.tar.gz). > > It might be slightly modified though; in my version I wanted to support > foldr/build optimisation of things like (pack (map f xs)) and (unpack s > ++ t). IIRC I got it working for unpack, but not for pack.
Yeah, yours seems better all around. when ForeignPtr's get fast (in the next point release of ghc or will it have to wait for the next major one?) I will switch over to your UTF8 version for jhc. John -- John Meacham - ⑆repetae.net⑆john⑈ _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe