From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.user Subject: Re: limits for (export ...) Date: Sat, 29 Oct 2011 22:35:56 +0200 Message-ID: <87boszsfgz.fsf@gnu.org> References: <76266DBA-4416-4115-9A70-85C175DF7E94@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1319920581 21552 80.91.229.12 (29 Oct 2011 20:36:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 29 Oct 2011 20:36:21 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Oct 29 22:36:18 2011 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RKFdY-0005u3-Sb for guile-user@m.gmane.org; Sat, 29 Oct 2011 22:36:17 +0200 Original-Received: from localhost ([::1]:44482 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKFdY-00056W-5p for guile-user@m.gmane.org; Sat, 29 Oct 2011 16:36:16 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:43526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKFdU-00056O-G6 for guile-user@gnu.org; Sat, 29 Oct 2011 16:36:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RKFdS-0004IH-Vr for guile-user@gnu.org; Sat, 29 Oct 2011 16:36:12 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:35808) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKFdS-0004Hw-HG for guile-user@gnu.org; Sat, 29 Oct 2011 16:36:10 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RKFdQ-0005qx-M4 for guile-user@gnu.org; Sat, 29 Oct 2011 22:36:08 +0200 Original-Received: from reverse-83.fdn.fr ([80.67.176.83]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 29 Oct 2011 22:36:08 +0200 Original-Received: from ludo by reverse-83.fdn.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 29 Oct 2011 22:36:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 35 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: reverse-83.fdn.fr X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 8 Brumaire an 220 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) Cancel-Lock: sha1:+rbQN5GvVlDlQzGLlZ3M/nCjWlk= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:8916 Archived-At: Hi, Ian Price skribis: > Although, and I don't think this is related to your issue, when > trying out the (list sym0 ...) from the repl, I did get an error > > scheme@(guile−user)> (list sym0 sym1 ... sym100 sym101) > ;;; :3:0: warning: possibly unbound variable `sy' > ;;; :3:0: warning: possibly unbound variable `m85' > :3:0: In procedure #:3:0 ()>: > :3:0: In procedure module−lookup: Unbound variable: sy > > Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. > scheme@(guile−user) [1]> ,q > > But further exploration shows that all the symbols are in fact bound, > and this error only seems to occur if there is no line break at some > point after sym8 and before sym85. Presumably, I'm running up against > some reader limit there. Weird. I can’t reproduce it this way: --8<---------------cut here---------------start------------->8--- scheme@(guile-user)> (use-modules(srfi srfi-1)) scheme@(guile-user)> (define syms (unfold (lambda (i) (> i 1234)) (lambda (i) (string->symbol (format #f "sym~a" i))) 1+ 0)) scheme@(guile-user)> (define s (with-output-to-string (lambda () (write syms)))) scheme@(guile-user)> (equal? syms (call-with-input-string s read)) $6 = #t --8<---------------cut here---------------end--------------->8--- Could you see if you can find a way to reproduce the problem? Thanks, Ludo’.