On 6/19/07, Thomas Shackell <[EMAIL PROTECTED]> wrote:

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 :-)


Well I think I've run into this problem...maybe.  All but one of the tests
pass, the one that doesn't is the timeLargeArray test, and it fails with
this error
yhc: superclassesI InfoUsed (Id 68) [(Type class,Ord,"Data.Ix
",510:8-510:10)]
Now my main question is how some PackedStrings can be reversed and others
not when it looks like everything that uses PackedString imports it from
SysDeps?  The only exception I could find was compiler98/DotNet/Show.hs.
_______________________________________________
Yhc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/yhc

Reply via email to