emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#12929: closed (case-lambda*)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#12929: closed (case-lambda*)
Date: Tue, 05 Mar 2013 18:55:09 +0000

Your message dated Tue, 05 Mar 2013 18:54:13 +0100
with message-id <address@hidden>
and subject line Re: bug#12929: case-lambda*
has caused the debbugs.gnu.org bug report #12929,
regarding case-lambda*
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
12929: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12929
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: case-lambda* Date: Mon, 19 Nov 2012 11:38:17 +0100
See the thread here 

http://lists.gnu.org/archive/html/guile-user/2012-11/msg00032.html

In Guile 2.0.6

(define f (case-lambda*
             ((x #:optional y) 1)
             ((x #:key y)      2)
             ((x y #:key z)    3)))

(f 1 2 #:z 3) -> Odd length of keyword argument list

Also

(define g (case-lambda*
                      ((a #:key x) 1)
                      ((a b c #:key x) 3)))

(g 1 2 3) - > Invalid keyword

This behavior doesn't seem useful and doesn't follow from the doc on 
case-lambda*, which is rather vague and lacks examples.

The case-lambda* test in tree-il.test also fails on the REPL

(let ((f (case-lambda*
          ((x #:optional y) 1)
          ((x #:key y)      2)
          ((x y #:key z)    3))))
  (list (f 1)
        (f 1 2)
        (f #:y 2)
        (f 1 2 #:z 3)))

-> Odd length of keyword argument list

Thanks,

        Daniel




--- End Message ---
--- Begin Message --- Subject: Re: bug#12929: case-lambda* Date: Tue, 05 Mar 2013 18:54:13 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)
On Mon 19 Nov 2012 11:38, Daniel Llorens <address@hidden> writes:

> http://lists.gnu.org/archive/html/guile-user/2012-11/msg00032.html

Fixed, with notes in that thread.  Thanks again for the report!

Andy
-- 
http://wingolog.org/


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]