Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Karsten Poeck
ansi-test
Commits
93067235
Commit
93067235
authored
Apr 19, 2003
by
pfdietz
Browse files
Tests showing the destructuring problem in cmucl with &rest and &whole arguments.
parent
fccdb014
Changes
1
Hide whitespace changes
Inline
Side-by-side
ansi-tests/destructuring-bind.lsp
View file @
93067235
...
...
@@ -89,6 +89,17 @@
(return 'good)))
good)
(deftest destructuring-bind.20
(destructuring-bind (&whole (a . b) c . d) '(1 . 2) (list a b c d))
(1 2 1 2))
(deftest destructuring-bind.21
(destructuring-bind
(x &rest (y z))
'(1 2 3)
(values x y z))
1 2 3)
;;; Error cases
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment