unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Andy Wingo <wingo@pobox.com>
To: Daniel Llorens <daniel.llorens@bluewin.ch>
Cc: 13966-done@debbugs.gnu.org
Subject: bug#13966: inlining issue?
Date: Mon, 20 Jun 2016 22:06:53 +0200	[thread overview]
Message-ID: <87ziqf7hgi.fsf@pobox.com> (raw)
In-Reply-To: <41C98E11-DE0A-432E-9947-7F75B572FB12@bluewin.ch> (Daniel Llorens's message of "Fri, 15 Mar 2013 13:57:26 +0100")

On Fri 15 Mar 2013 13:57, Daniel Llorens <daniel.llorens@bluewin.ch> 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





      parent reply	other threads:[~2016-06-20 20:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-15 12:57 bug#13966: inlining issue? Daniel Llorens
2013-03-22 13:55 ` Ludovic Courtès
2016-06-20 20:06 ` Andy Wingo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ziqf7hgi.fsf@pobox.com \
    --to=wingo@pobox.com \
    --cc=13966-done@debbugs.gnu.org \
    --cc=daniel.llorens@bluewin.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).