[Haskell-cafe] FPS lib

John Meacham john at repetae.net
Wed Oct 19 20:08:33 EDT 2005


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⑈ 


More information about the Haskell-Cafe mailing list