[Yhc] ByteString

Thomas Shackell shackell at cs.york.ac.uk
Tue Jun 19 05:55:44 EDT 2007


Neil Mitchell wrote:
> The one question you are bound to ask shortly is why we use
> ReversedPackedStrings, rather than PackedStrings in some cases - and
> the answer to that is there is no good reason. In the work if you fix
> all the cases where we have Reversed strings to normal strings that
> would be great!

Though I can't recommend trying! Packed strings appear all over the 
compiler, sometimes reversed, sometimes not, intermixed with code that 
either assumes 'reversed-ness' or doesn't. It would be seriously hard 
work to change :-)

Cheers

Tom


More information about the Yhc mailing list