Yes.
Yes.
No, the myLoopFunc(initValue1) is a CallExpression -- see CallWithBlockArguments :CallExpression [no LineTerminator here] BlockArgumentsThe *return value* of that ordinary CallExpression is the callee of the paren-free call.
That parses, as described above. The two-argument CallExpression must return a function that takes the block arguments. I see a problem in the grammar in the strawman, now that you mention it: no way to produce a simple identifier callee from CallExpression, so no map {|e| e*e} only v.map {|e| e*e} or get_map() {|e| e*e} or similar. I will fix. /be |
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss


