From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.user Subject: Re: iota from SRFI-1 Date: Thu, 12 Oct 2006 08:58:27 +1000 Message-ID: <877iz6pii4.fsf@zip.com.au> References: <20061010.120107.88472764.Sven.Hartrumpf@fernuni-hagen.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1160607568 2653 80.91.229.2 (11 Oct 2006 22:59:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 11 Oct 2006 22:59:28 +0000 (UTC) Cc: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Oct 12 00:59:25 2006 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GXn2C-0002dL-Bx for guile-user@m.gmane.org; Thu, 12 Oct 2006 00:58:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GXn2C-0001HU-1g for guile-user@m.gmane.org; Wed, 11 Oct 2006 18:58:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GXn26-0001Dj-CX for guile-user@gnu.org; Wed, 11 Oct 2006 18:58:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GXn24-0001BW-8v for guile-user@gnu.org; Wed, 11 Oct 2006 18:58:37 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GXn24-0001B9-3N for guile-user@gnu.org; Wed, 11 Oct 2006 18:58:36 -0400 Original-Received: from [61.8.2.229] (helo=mailout2.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GXnA9-0005nd-N7 for guile-user@gnu.org; Wed, 11 Oct 2006 19:06:58 -0400 Original-Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.2.163]) by mailout2.pacific.net.au (Postfix) with ESMTP id 4BBBE5091DE; Thu, 12 Oct 2006 08:58:32 +1000 (EST) Original-Received: from localhost (ppp29B1.dyn.pacific.net.au [61.8.41.177]) by mailproxy2.pacific.net.au (Postfix) with ESMTP id E9A9B27411; Thu, 12 Oct 2006 08:58:31 +1000 (EST) Original-Received: from gg by localhost with local (Exim 4.63) (envelope-from ) id 1GXn1w-0007Ew-To; Thu, 12 Oct 2006 08:58:28 +1000 Original-To: Sven.Hartrumpf@FernUni-Hagen.de 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)") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:5589 Archived-At: 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 # > 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