Arc Forumnew | comments | leaders | submitlogin
4 points by akkartik 3546 days ago | link | parent

Ah, turns out PLT/racket does support keyword and optional args:

Optional args:

  (lambda([a 3]) ..)
Keyword args:

  (lambda(#:a a) ..)
which seems a bit redundant.

Optional keyword args:

  (lambda(#:a [a 3]) ..)
And if you have a rest argument you must specify all optional and keyword arguments. Most interesting..