Documented opt-lambda: and popt-lambda:.
original commit: 4b3e621d0ff54671befe96bff3c49109128e8861
This commit is contained in:
parent
6a0aa26fde
commit
6473431d0d
|
@ -296,6 +296,14 @@ A function of multiple arities. Note that each @racket[formals] must have a
|
|||
different arity.}
|
||||
@defform[(pcase-lambda: (a ...) [formals body] ...)]{
|
||||
A polymorphic function of multiple arities.}
|
||||
@defform/subs[(opt-lambda: formals . body)
|
||||
([formals ([v : t] ... [v : t default] ...)
|
||||
([v : t] ... [v : t default] ... . [v : t *])
|
||||
([v : t] ... [v : t default] ... . [v : t ...])])]{
|
||||
A function with optional arguments.}
|
||||
@defform[(popt-lambda: (a ...) formals . body)]{
|
||||
A polymorphic function with optional arguments.}
|
||||
|
||||
|
||||
@subsection{Loops}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user