[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Prevent keyword argumets from appearing in the rest
From: |
Panicz Maciej Godek |
Subject: |
Prevent keyword argumets from appearing in the rest |
Date: |
Wed, 21 Sep 2016 15:58:46 +0200 |
Hi,
is there any way to prevent the defined keyword arguments from appearing in
the "rest" argument list?
For example, if I have a definition
(define* (f #:key (a 1) (b 2) (c 3) #:allow-other-keys . rest)
rest)
I would like (f #:a 5 #:d 6) to return (#:d 6) rather than (#:a 5 #:d 6)
- Prevent keyword argumets from appearing in the rest,
Panicz Maciej Godek <=