From: Sebastian Tennant <sebyte@smolny.plus.com>
To: guile-user@gnu.org
Subject: Re: Parameters
Date: Mon, 04 Feb 2008 17:45:28 +0200 [thread overview]
Message-ID: <87zlug209z.fsf@moley.moleskin.org> (raw)
In-Reply-To: 200802041629.19828.caslav.ilic@gmx.net
Quoth Chusslove Illich <caslav.ilic@gmx.net>:
>> [: Sebastian Tennant :]
>> Why does the second procedure fail regardless of how it is called?
>
> Because the recursive call in it is of the first type, not corresponding to
> the base call.
Ah, of course...
> You would need to use apply, i.e.
>
> (+ (apply add (cdr l)) (car l))
Indeed.
Many thanks to all.
next prev parent reply other threads:[~2008-02-04 15:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-04 13:51 Parameters Sebastian Tennant
2008-02-04 14:28 ` Parameters Ludovic Courtès
2008-02-04 15:05 ` Parameters Sebastian Tennant
2008-02-04 15:29 ` Parameters Chusslove Illich
2008-02-04 15:45 ` Sebastian Tennant [this message]
2008-02-04 15:47 ` Parameters Ludovic Courtès
2008-02-04 17:22 ` Parameters Sebastian Tennant
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=87zlug209z.fsf@moley.moleskin.org \
--to=sebyte@smolny.plus.com \
--cc=guile-user@gnu.org \
/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).