On Thu, Apr 20, 2006 at 07:24:18PM +1000, Donald Bruce Stewart wrote: > And with the magic RULE, you get: > > {-# RULES > "pack/packAddress" forall s# . > pack (unpackCString# s#) = packAddress s# > #-} > > such that: > FPS.pack "haskell" > > usually gives you the right thing. Cool! :-) Best regards Tomasz