ForExpr

From Erights

(Difference between revisions)
Jump to: navigation, search
(Tests)
(Static constraints)
Line 17: Line 17:
{{XXX|Define the expansion of ForExpr}}
{{XXX|Define the expansion of ForExpr}}
-
== Static constraints ==
+
Kudos! What a neat way of thnkiing about it.
-
 
+
-
* <var>collection</var> may not use nouns bound by <var>optKeyPattern</var> or <var>valuePattern</var>, or vice versa.
+
-
 
+
-
C9KOXf Got it! Thanks a lot again for hlepnig me out!
+

Revision as of 13:22, 20 April 2011

ForExpr is a nonkernel node which executes code for each element in a collection or other object implementing iterate/1.

"for" (optKeyPattern "=>")? valuePattern "in" collection "{" body "}" ({optBreakCatch an EMatcher}: "catch" pattern "{" expr "}")?

XXX We need to formalize the grammar definitions used in our spec

Fields

Expansion

XXX Define the expansion of ForExpr

Kudos! What a neat way of thnkiing about it.

Personal tools
more tools