Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2007-04-27 14:53:19 -0700 (Fri, 27 Apr 2007)
Revision: 10538
Log message:

      Added "body placeholders" as Aleksey and I discussed.
     
     I chose the placeholder ..., so you write.
     
        foreach(x => ..., a b c)
           println($x)
     
     Or, written another way.
     
        foreach(..., a b c)
           fun(x => $(println $x))
     
     Also, this way you can have more than one function.
     
        f(x => $x, y => $y)
     
     I'm still not entirely happy, because the main practical use
     of ... is for foreach.  The extra 3 chars seems like a
     burden, because foreach is used fairly frequently, much
     more than other anonymous functions.

Changes  Path
+1 -1 omake-jumbo-branches/all-features/0.9.8.x/OMakefile
+1 -1 omake-jumbo-branches/all-features/0.9.8.x/lib/Pervasives.om
+3 -3 omake-jumbo-branches/all-features/0.9.8.x/lib/build/C.om
+1 -1 omake-jumbo-branches/all-features/0.9.8.x/lib/build/LaTeX.om
+1 -1 omake-jumbo-branches/all-features/0.9.8.x/lib/build/OCaml.om
+3 -3 omake-jumbo-branches/all-features/0.9.8.x/mk/make_gen
+7 -8 omake-jumbo-branches/all-features/0.9.8.x/src/ast/omake_ast.ml
+16 -18 omake-jumbo-branches/all-features/0.9.8.x/src/ast/omake_ast_print.ml
+56 -20 omake-jumbo-branches/all-features/0.9.8.x/src/ast/omake_ast_util.ml
+48 -50 omake-jumbo-branches/all-features/0.9.8.x/src/env/omake_ast_parse.input
+85 -106 omake-jumbo-branches/all-features/0.9.8.x/src/env/omake_ir_ast.ml
+1 -1 omake-jumbo-branches/auto/0.9.8.x/OMakefile
+1 -1 omake-jumbo-branches/auto/0.9.8.x/lib/Pervasives.om
+3 -3 omake-jumbo-branches/auto/0.9.8.x/lib/build/C.om
+1 -1 omake-jumbo-branches/auto/0.9.8.x/lib/build/LaTeX.om
+1 -1 omake-jumbo-branches/auto/0.9.8.x/lib/build/OCaml.om
+3 -3 omake-jumbo-branches/auto/0.9.8.x/mk/make_gen
+7 -8 omake-jumbo-branches/auto/0.9.8.x/src/ast/omake_ast.ml
+16 -18 omake-jumbo-branches/auto/0.9.8.x/src/ast/omake_ast_print.ml
+56 -20 omake-jumbo-branches/auto/0.9.8.x/src/ast/omake_ast_util.ml
+48 -50 omake-jumbo-branches/auto/0.9.8.x/src/env/omake_ast_parse.input
+82 -103 omake-jumbo-branches/auto/0.9.8.x/src/env/omake_ir_ast.ml
+1 -1 omake-jumbo-branches/const/0.9.8.x/OMakefile
+1 -1 omake-jumbo-branches/const/0.9.8.x/lib/Pervasives.om
+3 -3 omake-jumbo-branches/const/0.9.8.x/lib/build/C.om
+1 -1 omake-jumbo-branches/const/0.9.8.x/lib/build/LaTeX.om
+1 -1 omake-jumbo-branches/const/0.9.8.x/lib/build/OCaml.om
+3 -3 omake-jumbo-branches/const/0.9.8.x/mk/make_gen
+7 -8 omake-jumbo-branches/const/0.9.8.x/src/ast/omake_ast.ml
+16 -18 omake-jumbo-branches/const/0.9.8.x/src/ast/omake_ast_print.ml
+56 -20 omake-jumbo-branches/const/0.9.8.x/src/ast/omake_ast_util.ml
+48 -50 omake-jumbo-branches/const/0.9.8.x/src/env/omake_ast_parse.input
+82 -103 omake-jumbo-branches/const/0.9.8.x/src/env/omake_ir_ast.ml
+1 -1 omake-jumbo-branches/dll/0.9.8.x/OMakefile
+1 -1 omake-jumbo-branches/dll/0.9.8.x/lib/Pervasives.om
+3 -3 omake-jumbo-branches/dll/0.9.8.x/lib/build/C.om
+1 -1 omake-jumbo-branches/dll/0.9.8.x/lib/build/LaTeX.om
+1 -1 omake-jumbo-branches/dll/0.9.8.x/lib/build/OCaml.om
+3 -3 omake-jumbo-branches/dll/0.9.8.x/mk/make_gen
+7 -8 omake-jumbo-branches/dll/0.9.8.x/src/ast/omake_ast.ml
+16 -18 omake-jumbo-branches/dll/0.9.8.x/src/ast/omake_ast_print.ml
+56 -20 omake-jumbo-branches/dll/0.9.8.x/src/ast/omake_ast_util.ml
+48 -50 omake-jumbo-branches/dll/0.9.8.x/src/env/omake_ast_parse.input
+82 -103 omake-jumbo-branches/dll/0.9.8.x/src/env/omake_ir_ast.ml
+1 -1 omake-jumbo-branches/dll2/0.9.8.x/OMakefile
+1 -1 omake-jumbo-branches/dll2/0.9.8.x/lib/Pervasives.om
+3 -3 omake-jumbo-branches/dll2/0.9.8.x/lib/build/C.om
+1 -1 omake-jumbo-branches/dll2/0.9.8.x/lib/build/LaTeX.om
+1 -1 omake-jumbo-branches/dll2/0.9.8.x/lib/build/OCaml.om
+3 -3 omake-jumbo-branches/dll2/0.9.8.x/mk/make_gen
+7 -8 omake-jumbo-branches/dll2/0.9.8.x/src/ast/omake_ast.ml
+16 -18 omake-jumbo-branches/dll2/0.9.8.x/src/ast/omake_ast_print.ml
+56 -20 omake-jumbo-branches/dll2/0.9.8.x/src/ast/omake_ast_util.ml
+48 -50 omake-jumbo-branches/dll2/0.9.8.x/src/env/omake_ast_parse.input
+85 -106 omake-jumbo-branches/dll2/0.9.8.x/src/env/omake_ir_ast.ml
+1 -1 omake-jumbo-branches/export/0.9.8.x/OMakefile
+1 -1 omake-jumbo-branches/export/0.9.8.x/lib/Pervasives.om
+3 -3 omake-jumbo-branches/export/0.9.8.x/lib/build/C.om
+1 -1 omake-jumbo-branches/export/0.9.8.x/lib/build/LaTeX.om
+1 -1 omake-jumbo-branches/export/0.9.8.x/lib/build/OCaml.om
+3 -3 omake-jumbo-branches/export/0.9.8.x/mk/make_gen
+7 -8 omake-jumbo-branches/export/0.9.8.x/src/ast/omake_ast.ml
+16 -18 omake-jumbo-branches/export/0.9.8.x/src/ast/omake_ast_print.ml
+56 -20 omake-jumbo-branches/export/0.9.8.x/src/ast/omake_ast_util.ml
+48 -50 omake-jumbo-branches/export/0.9.8.x/src/env/omake_ast_parse.input
+82 -103 omake-jumbo-branches/export/0.9.8.x/src/env/omake_ir_ast.ml
+1 -1 omake-jumbo-branches/keyword/0.9.8.x/lib/Pervasives.om
+3 -3 omake-jumbo-branches/keyword/0.9.8.x/lib/build/C.om
+3 -3 omake-jumbo-branches/keyword/0.9.8.x/mk/make_gen
+7 -8 omake-jumbo-branches/keyword/0.9.8.x/src/ast/omake_ast.ml
+16 -18 omake-jumbo-branches/keyword/0.9.8.x/src/ast/omake_ast_print.ml
+56 -20 omake-jumbo-branches/keyword/0.9.8.x/src/ast/omake_ast_util.ml
+48 -50 omake-jumbo-branches/keyword/0.9.8.x/src/env/omake_ast_parse.input
+99 -97 omake-jumbo-branches/keyword/0.9.8.x/src/env/omake_ir_ast.ml
+1 -1 omake-jumbo-branches/open/0.9.8.x/OMakefile
+1 -1 omake-jumbo-branches/open/0.9.8.x/lib/Pervasives.om
+3 -3 omake-jumbo-branches/open/0.9.8.x/lib/build/C.om
+1 -1 omake-jumbo-branches/open/0.9.8.x/lib/build/LaTeX.om
+1 -1 omake-jumbo-branches/open/0.9.8.x/lib/build/OCaml.om
+3 -3 omake-jumbo-branches/open/0.9.8.x/mk/make_gen
+7 -8 omake-jumbo-branches/open/0.9.8.x/src/ast/omake_ast.ml
+16 -18 omake-jumbo-branches/open/0.9.8.x/src/ast/omake_ast_print.ml
+56 -20 omake-jumbo-branches/open/0.9.8.x/src/ast/omake_ast_util.ml
+48 -50 omake-jumbo-branches/open/0.9.8.x/src/env/omake_ast_parse.input
+82 -103 omake-jumbo-branches/open/0.9.8.x/src/env/omake_ir_ast.ml
+1 -1 omake-jumbo-branches/original/0.9.8.x/src/Makefile
+1 -1 omake-jumbo-branches/original/0.9.8.x/src/Makefile.nt
+25 -17 omake-jumbo-branches/original/0.9.8.x/src/env/omake_ir_ast.ml
+1 -1 omake-jumbo-branches/parse/0.9.8.x/OMakefile
+1 -1 omake-jumbo-branches/parse/0.9.8.x/lib/Pervasives.om
+3 -3 omake-jumbo-branches/parse/0.9.8.x/lib/build/C.om
+1 -1 omake-jumbo-branches/parse/0.9.8.x/lib/build/LaTeX.om
+1 -1 omake-jumbo-branches/parse/0.9.8.x/lib/build/OCaml.om
+3 -3 omake-jumbo-branches/parse/0.9.8.x/mk/make_gen
+7 -8 omake-jumbo-branches/parse/0.9.8.x/src/ast/omake_ast.ml
+16 -18 omake-jumbo-branches/parse/0.9.8.x/src/ast/omake_ast_print.ml
+56 -20 omake-jumbo-branches/parse/0.9.8.x/src/ast/omake_ast_util.ml
+48 -50 omake-jumbo-branches/parse/0.9.8.x/src/env/omake_ast_parse.input
+85 -106 omake-jumbo-branches/parse/0.9.8.x/src/env/omake_ir_ast.ml
+1 -1 omake-jumbo-branches/var2/0.9.8.x/lib/Pervasives.om
+3 -3 omake-jumbo-branches/var2/0.9.8.x/lib/build/C.om
+3 -3 omake-jumbo-branches/var2/0.9.8.x/mk/make_gen
+7 -8 omake-jumbo-branches/var2/0.9.8.x/src/ast/omake_ast.ml
+16 -18 omake-jumbo-branches/var2/0.9.8.x/src/ast/omake_ast_print.ml
+56 -20 omake-jumbo-branches/var2/0.9.8.x/src/ast/omake_ast_util.ml
+48 -50 omake-jumbo-branches/var2/0.9.8.x/src/env/omake_ast_parse.input
+99 -97 omake-jumbo-branches/var2/0.9.8.x/src/env/omake_ir_ast.ml
+1 -1 omake-jumbo-branches/var3/0.9.8.x/OMakefile
+1 -1 omake-jumbo-branches/var3/0.9.8.x/lib/Pervasives.om
+3 -3 omake-jumbo-branches/var3/0.9.8.x/lib/build/C.om
+1 -1 omake-jumbo-branches/var3/0.9.8.x/lib/build/LaTeX.om
+1 -1 omake-jumbo-branches/var3/0.9.8.x/lib/build/OCaml.om
+3 -3 omake-jumbo-branches/var3/0.9.8.x/mk/make_gen
+7 -8 omake-jumbo-branches/var3/0.9.8.x/src/ast/omake_ast.ml
+16 -18 omake-jumbo-branches/var3/0.9.8.x/src/ast/omake_ast_print.ml
+56 -20 omake-jumbo-branches/var3/0.9.8.x/src/ast/omake_ast_util.ml
+48 -50 omake-jumbo-branches/var3/0.9.8.x/src/env/omake_ast_parse.input
+82 -103 omake-jumbo-branches/var3/0.9.8.x/src/env/omake_ir_ast.ml
+1 -1 omake-jumbo-branches/var4/0.9.8.x/OMakefile
+1 -1 omake-jumbo-branches/var4/0.9.8.x/lib/Pervasives.om
+3 -3 omake-jumbo-branches/var4/0.9.8.x/lib/build/C.om
+1 -1 omake-jumbo-branches/var4/0.9.8.x/lib/build/LaTeX.om
+1 -1 omake-jumbo-branches/var4/0.9.8.x/lib/build/OCaml.om
+3 -3 omake-jumbo-branches/var4/0.9.8.x/mk/make_gen
+7 -8 omake-jumbo-branches/var4/0.9.8.x/src/ast/omake_ast.ml
+16 -18 omake-jumbo-branches/var4/0.9.8.x/src/ast/omake_ast_print.ml
+56 -20 omake-jumbo-branches/var4/0.9.8.x/src/ast/omake_ast_util.ml
+48 -50 omake-jumbo-branches/var4/0.9.8.x/src/env/omake_ast_parse.input
+82 -103 omake-jumbo-branches/var4/0.9.8.x/src/env/omake_ir_ast.ml