From: Kevin Ryde <user42@zip.com.au>
Cc: guile-user@gnu.org
Subject: Re: iota from SRFI-1
Date: Thu, 12 Oct 2006 08:58:27 +1000 [thread overview]
Message-ID: <877iz6pii4.fsf@zip.com.au> (raw)
In-Reply-To: <20061010.120107.88472764.Sven.Hartrumpf@fernuni-hagen.de> (Sven Hartrumpf's message of "Tue, 10 Oct 2006 12:01:07 +0200 (CEST)")
Sven.Hartrumpf@FernUni-Hagen.de writes:
>
>> rlwrap guile181 --use-srfi=1
> guile> (iota 3 1)
>
> Backtrace:
> In standard input:
> 1: 0* [iota 3 1]
>
> standard input:1:1: In procedure iota in expression (iota 3 1):
> standard input:1:1: Wrong number of arguments to #<procedure iota (n)>
> ABORT: (wrong-number-of-args)
> guile>
>
> It looks like the iota function from ice-9/boot-9.scm is called.
Thanks, that's a bug. It looks like the srfi module is behind the
core when used from --use-srfi. I guess the `use-srfis' procedure in
boot-9.scm is to blame, but I don't how it ought to be.
A plain use-modules works; and guile 1.8 has the srfi-55
`require-extension' too, if you want something semi-independent of a
particular scheme.
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
next prev parent reply other threads:[~2006-10-11 22:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-10 10:01 iota from SRFI-1 Sven.Hartrumpf
2006-10-11 22:58 ` Kevin Ryde [this message]
2006-12-12 22:35 ` Kevin Ryde
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=877iz6pii4.fsf@zip.com.au \
--to=user42@zip.com.au \
--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).