Arc Forum
new
|
comments
|
leaders
|
submit
login
2 points
by
bogomipz
6157 days ago |
link
|
parent
Does the suggestion really close that door? For instance, if you wanted to add keyword arguments, they could go like this:
(fn (a b ? (c 3) (d 4) ! (e 5) (f 6) . rest) ...)
Combining all four argument flavors in the same function is of course not a good idea.
1 point
by
kennytilton
6155 days ago |
link
Looks like how common lisp works. And agreed: mixing optional with keyword args would be a nasty thing to do to users. Probably they saw that it was /possible/ and said sure, why not?
-----