From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ian Price Newsgroups: gmane.lisp.guile.user Subject: Re: limits for (export ...) Date: Sat, 29 Oct 2011 18:51:13 +0100 Message-ID: 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: quoted-printable X-Trace: dough.gmane.org 1319910793 26738 80.91.229.12 (29 Oct 2011 17:53:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 29 Oct 2011 17:53:13 +0000 (UTC) Cc: guile-user@gnu.org To: "Pavel V. Kaygorodov" Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Oct 29 19:53:10 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 1RKD5g-00010i-RB for guile-user@m.gmane.org; Sat, 29 Oct 2011 19:53:08 +0200 Original-Received: from localhost ([::1]:53283 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKD5g-00038c-85 for guile-user@m.gmane.org; Sat, 29 Oct 2011 13:53:08 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKD5c-00038X-Uf for guile-user@gnu.org; Sat, 29 Oct 2011 13:53:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RKD5b-0001NV-TS for guile-user@gnu.org; Sat, 29 Oct 2011 13:53:04 -0400 Original-Received: from mail-wy0-f169.google.com ([74.125.82.169]:58827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKD5b-0001NM-P5 for guile-user@gnu.org; Sat, 29 Oct 2011 13:53:03 -0400 Original-Received: by wyg34 with SMTP id 34so5858412wyg.0 for ; Sat, 29 Oct 2011 10:53:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=cjJXz/9xuFqgJ7/iq5wK3W2YRFb4O3yjBbyi35WCvDs=; b=wxLT6CUdPyyMr8Jf3TDVgcu6oeeqdtvC2NrU6biJcFYrs6QoonwYlWfvmb7Iywa6Qu pzN2NgwEGrWf2mBJpruTukIh2OqruYFwPlcYlKH624T2B+aIfQ8kq+ZjkVhFgOO5PdAn hHVfS9In5ZQK3OnfBfg4BBpnmdqS9Job//ceM= Original-Received: by 10.216.24.41 with SMTP id w41mr995828wew.69.1319910782001; Sat, 29 Oct 2011 10:53:02 -0700 (PDT) Original-Received: from Kagami (host86-169-103-210.range86-169.btcentralplus.com. [86.169.103.210]) by mx.google.com with ESMTPS id e7sm22388015wbh.12.2011.10.29.10.53.00 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 29 Oct 2011 10:53:00 -0700 (PDT) In-Reply-To: <76266DBA-4416-4115-9A70-85C175DF7E94@gmail.com> (Pavel V. Kaygorodov's message of "Sat, 29 Oct 2011 20:40:07 +0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.169 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:8915 Archived-At: "Pavel V. Kaygorodov" writes: > Does guile-2 limit the number of exported symbols for libraries? I decided to generate a file with ~100 definitions. ; manysyms.scm (define-module (manysyms) #:export (sym0 sym1 ... sym101)) (define sym0 'sym0) (define sym1 'sym1) ... (define sym101 'sym101) ; test.scm (use-modules (manysyms)) (write (list sym0 sym1 ... sym101)) And when I ran test.scm I got the expected output, so I'm not sure there is. 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=E2=88=92user)> (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=E2=88=92lookup: Unbound variable: sy Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. scheme@(guile=E2=88=92user) [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. --=20 Ian Price "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"