mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 05:39:18 +02:00
explicitly state that it is an error if the default values mutate the let-optionals list (issue #778)
This commit is contained in:
parent
22e89b168a
commit
08d2847767
1 changed files with 3 additions and 0 deletions
|
@ -28,6 +28,9 @@
|
|||
;;> elements of \var{ls} beyond the length of \var{ls}, otherwise any
|
||||
;;> extra values are unused.
|
||||
;;>
|
||||
;;> \var{ls} is evaluated only once. It is an error if any
|
||||
;;> \var{default} mutates \var{ls}.
|
||||
;;>
|
||||
;;> Typically used on the dotted rest list at the start of a lambda,
|
||||
;;> \scheme{let-optionals} is more concise and more efficient than
|
||||
;;> \scheme{case-lambda} for simple optional argument uses.
|
||||
|
|
Loading…
Add table
Reference in a new issue