[Omake] SVN Commit: OMake Build System [0.9.8.x] (Rev. 12392)
Jason J. Hickey
jyh at cs.caltech.edu
Mon Oct 15 14:39:10 PDT 2007
Change keyword arguments slightly, following OCaml-style convention.
Function Application
-------------------------------------------
f(a) f(1)
f(~a, b) f(~a = 10, 11) Required keyword argument
f(?a, b) f(~a = 10, 12) Optional keyword argument
f(12) -- defaults to empty
f(?a = 1, b) f(~a = 10, 11) Optional keyword argument with default value
f(~a = 1, b) f(11) -- ~a is same as ?a if there is a default value
f(?a = 10, 11) -- Arguments can use ?, but it means the same thing
----
Changes in omake-branches/0.9.8.x:
+64 -9 doc/src/omake-language.tex
+10 -3 src/ast/omake_ast.ml
+11 -14 src/ast/omake_ast_print.ml
+14 -7 src/ast/omake_ast_util.ml
+11 -2 src/env/omake_ast_lex.mll
+77 -41 src/env/omake_ast_parse.input
+11 -2 src/env/omake_command_digest.ml
+69 -20 src/env/omake_env.ml
+5 -5 src/env/omake_env.mli
+8 -1 src/env/omake_gen_parse.ml
+56 -40 src/env/omake_ir_ast.ml
+3 -2 src/ir/omake_ir.ml
+4 -2 src/ir/omake_ir_free_vars.ml
+6 -1 src/ir/omake_value_print.ml
+2 -2 src/ir/omake_value_type.ml
+8 -8 test/curry/Test2
+5 -5 test/curry/Test5
+2 -2 test/keyword/Test1
+5 -5 test/keyword/Test2
+3 -3 test/keyword/Test3
Added test/keyword/Test4
Added test/keyword/Test5
Added test/keyword/Test6
A hyperlinked version of this commit is available at
http://svn.metaprl.org/commitlogs/omake/2007-10.html#07/10/15.14:39:10
More information about the OMake-CVS
mailing list