[Yhc] ByteString

Donald Bruce Stewart dons at cse.unsw.edu.au
Thu Jun 14 22:44:09 EDT 2007


ndmitchell:
> Hi Creighton,
> 
> >This might be a silly question for you guys, but is there a reason why yhc
> >still uses PackedString in places instead of ByteString?
> 
> Two reasons:
> 
> 1) ByteStrings are totally unreliable - they can't be made to work in
> GHC 6.4 and GHC 6.6 without features of Cabal that aren't even written

I think Neil means here that you can't write a .cabal file, for code
that uses Data.ByteString, that will work unchanged with ghc 6.4 and ghc
6.6, since the module is in a different package in each case.

So, I'd probably rephrase that as "Due to cabal limitations ..."

-- Don


More information about the Yhc mailing list