guile-user
[Top][All Lists]
Advanced

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

Re: iota from SRFI-1


From: Kevin Ryde
Subject: Re: iota from SRFI-1
Date: Thu, 12 Oct 2006 08:58:27 +1000
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

address@hidden 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.




reply via email to

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