[Yhc] _apply1 goes missing
Tom Shackell
shackell at cs.york.ac.uk
Sun Jun 25 13:23:17 EDT 2006
Yes,
This is deliberate, I worked out the _apply1 really wasn't doing
anything so I removed it :-)
Tom
Neil Mitchell wrote:
> 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
> _______________________________________________
> Yhc mailing list
> Yhc at haskell.org
> http://www.haskell.org//mailman/listinfo/yhc
More information about the Yhc
mailing list