Implement &allow-other-keys #1370
Labels
No labels
UX
active development
backlog
blocker
bootstrap
bounty
bug
dependencies
discussion
documentation
duplicate
enhancement
flaky test
help wanted
invalid
javascript
question
release
tendentious
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
mighty-gerbils/gerbil#1370
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Common Lisp has
&allow-other-keyswherein a function can accept keyword arguments it recognizes, yet also record all the keyword arguments it is given, even those it doesn't recognize, so as to pass them to further functions it calls withapply. We should implement this functionality, useful in various OO protocols (but not only): https://www.lispworks.com/documentation/HyperSpec/Body/03_da.htm@vyzo Where do I find the code that handles keyword arguments, both in the runtime and the compiler?
in the prelude and runtime (keyword-diapatch).
We can use the dssl objects for this marking in the lambda signature, #!key #!rest #!optional.
compiler is in various places.