Lambda vs. function
Waldemar Horwat
waldemar at google.com
Mon Oct 20 13:48:15 PDT 2008
Dave Herman wrote:
> Do you see where I'm going with this? It's a pretty natural idea. The
> branches of an if-statement can be in tail position because they are the
> last thing produced by the if-statement. Some things like loop forms and
> switch won't be able to contain tail positions because they're too
> imperative. But if statements and blocks have a very natural notion of
> tail position.
>
> Dave
Yes, that's what I was referring to earlier. Do you now understand my mail from 10/17/2008 12:39? There are contexts where things are black and white and there are more gray ones -- switch statements, try/catch, return, type annotated functions, etc.
Waldemar
More information about the Es-discuss
mailing list