I define a procedure which takes keyword arguments, using define* from
(ice-9 optargs). When called with an extra (non-key) argument, the
procedure silently ignores this argument. It should signal an error
instead.
(use-modules (ice-9 optargs))
(define* (x #&key (a 0)) a)
(x 1) ==> 0 ; should signal error
--
Matthias K�ppe -- http://www.math.uni-magdeburg.de/~mkoeppe
_______________________________________________
Bug-guile mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-guile