On Mon, 17 Sep 2007, Neil Mitchell wrote:

> Hi
> 
> > case e of b { pati -> rhsi }
> >
> > * evaluates 'e',
> > * binds the resulting value to 'b',
> > * performs case analysis on the result to find which alternative to choose
> > * binds the variables of the pattern to the components of the value
> 
> The Yhc.Core translator converts this to:
> 
> let b = e in case b of { pati -> rhsi }
> 
> I'm not sure if that would be a clearer form for you to work with, as
> it is closer to standard Haskell.
> 

Definitely not, let allocates.

-- 
[EMAIL PROTECTED]

There is no magic bullet. There are, however, plenty of bullets that
magically home in on feet when not used in exactly the right circumstances.
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to