From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jan Nieuwenhuizen Newsgroups: gmane.lisp.guile.user Subject: Re: primitive eval with module => Unbound variable? Date: Mon, 22 May 2017 22:19:46 +0200 Organization: AvatarAcademy.nl Message-ID: <87lgpofxul.fsf@gnu.org> References: <87ziec4g62.fsf@gnu.org> <8737c3nu9p.fsf@pobox.com> <87shk24vdo.fsf@gnu.org> <87shjw3cc2.fsf@pobox.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1495484501 17667 195.159.176.226 (22 May 2017 20:21:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 22 May 2017 20:21:41 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Cc: guile-user@gnu.org To: Andy Wingo Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon May 22 22:21:36 2017 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCtpf-0004Tu-OG for guile-user@m.gmane.org; Mon, 22 May 2017 22:21:35 +0200 Original-Received: from localhost ([::1]:44762 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCtpl-0005GD-Bt for guile-user@m.gmane.org; Mon, 22 May 2017 16:21:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCtoE-0004T4-Sl for guile-user@gnu.org; Mon, 22 May 2017 16:20:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dCtoA-000761-Rs for guile-user@gnu.org; Mon, 22 May 2017 16:20:06 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCtny-00070i-KW; Mon, 22 May 2017 16:19:50 -0400 Original-Received: from peder.onsbrabantnet.nl ([88.159.206.46]:57182 helo=dundal.peder.onsbrabantnet.nl) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dCtnx-0002bj-UU; Mon, 22 May 2017 16:19:50 -0400 X-Url: http://AvatarAcademy.nl In-Reply-To: <87shjw3cc2.fsf@pobox.com> (Andy Wingo's message of "Mon, 22 May 2017 21:45:17 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.lisp.guile.user:13738 Archived-At: Andy Wingo writes: > current-module is dynamically scoped. Consider: > > (define-module (qux) > #:use-module (foo)) >=20=20=20 > (baz) > > In this case the current module for the baz invocation is (qux). Ah, yes! Thanks, now that helps making sense of it. Why didn't I consider this option :-) Greetings, janneke --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com