[EMAIL PROTECTED] 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

Reply via email to