
21 Jun
2006
21 Jun
'06
9:07 a.m.
Hi, I have a sample piece of code: --- module HeadReverse where main x = head (reverse x) --- Which currently when compiled with a Yhc from a few weeks ago generates the core: --- module HeadReverse where HeadReverse.main v139 = (Prelude.head ((Prelude.reverse) v139)) --- But I have a cached copy of it, which gives: --- HeadReverse.main v196 = Prelude.head (YHC.Internal._apply1 Prelude.reverse v196) -- The cached copy probably comes from about two months ago - was there any change committed that changes this behaviour intentionally? Which is the correct behaviour? Thanks Neil