bug-guile
[Top][All Lists]
Advanced

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

bug#13966: inlining issue?


From: Andy Wingo
Subject: bug#13966: inlining issue?
Date: Mon, 20 Jun 2016 22:06:53 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

On Fri 15 Mar 2013 13:57, Daniel Llorens <address@hidden> writes:

> Compare 
>
> (define f (lambda (a) a))
> (call-with-values (lambda () (values 3 3)) f)
>
> vs
>
> (call-with-values (lambda () (values 3 3)) (lambda (a) a))
>
> The first one fails with
>
> <unnamed port>:1:0: In procedure f:
> <unnamed port>:1:0: Wrong number of arguments to #<procedure f (a)>
>
> The second one gives 3. 
>
> This is Guile 2.0.7.112-f5ea5.
>
> The behavior of the first case makes (compose f g) fail when f takes less 
> args tan g produces.

Fixed in fff013215fb1a5d211df5037dcf52c92063050a8 on master.

Thanks for the report!

Andy





reply via email to

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