* Allow function argument default values to refer to other arguments

of the function.  Implements NIX-45.
This commit is contained in:
Eelco Dolstra 2006-05-08 12:52:47 +00:00
parent 310e605995
commit 5cabd47394
5 changed files with 51 additions and 39 deletions

View file

@ -0,0 +1 @@
({x, y, z}: x + y + z) {x = "foo"; z = "bar";}

View file

@ -0,0 +1 @@
({x, z}: x + z) {x = "foo"; y = "bla"; z = "bar";}