[Yhc] _apply1 goes missing

Neil Mitchell ndmitchell at gmail.com
Wed Jun 21 09:07:17 EDT 2006


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


More information about the Yhc mailing list