From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Newsgroups: gmane.lisp.guile.user Subject: Re: confused about make-module and eval Date: Tue, 24 Mar 2020 10:16:58 +0100 Message-ID: <20200324091658.GC9527@tuxteam.de> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="adJ1OR3c6QgCpb/j" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="98077"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/1.5.21 (2010-09-15) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Tue Mar 24 10:17:26 2020 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jGfgb-000PKd-5I for guile-user@m.gmane-mx.org; Tue, 24 Mar 2020 10:17:25 +0100 Original-Received: from localhost ([::1]:44766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGfgZ-0002QM-PL for guile-user@m.gmane-mx.org; Tue, 24 Mar 2020 05:17:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43541) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGfgK-0002Q2-0k for guile-user@gnu.org; Tue, 24 Mar 2020 05:17:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jGfgI-0005uf-OD for guile-user@gnu.org; Tue, 24 Mar 2020 05:17:07 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:33603) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jGfgI-0005rJ-7l for guile-user@gnu.org; Tue, 24 Mar 2020 05:17:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:Date; bh=Gkuy+37vBXXXRLIa5AoMczy7BXCIUrcJZXqOJsnX+6c=; b=Vd7CLaTDVLS7rahG7EGK/ntmc4234+W64CrsQ2aAvD48d6t4fJsmKYv1xye6y6n/cmnqRoFSte1NIf1JkiPkdoSkXx8+zwm6fJpUJHVDNeE4uG/IO/DIiD5EmYlEhAmWCeNl6nSuBWjEq6KlsZ3dvf4KhLg3uMt6ttXyPFJ8/WxslALKzVo9qBPWhPIiaan2tGQ9gyNj8C/SkBNozEQ8uPzdBK3/XrrttuveslJ6w+osRwWY2La6078zXxYEqcAtu1J5MUkkZv+fK9DUZN/+8c+EWRaJT+/zbTNQGMESyEQZck7/9x8qazQUZIsPtNEd2eKtHRD0/b/wXj1vZY3Nqw==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1jGfgA-0003Dy-DJ for guile-user@gnu.org; Tue, 24 Mar 2020 10:16:58 +0100 Content-Disposition: inline In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 5.199.139.25 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:16343 Archived-At: --adJ1OR3c6QgCpb/j Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 24. Mar 2020, at 01:32, Matt Wette wrote: > I expect this to work, but it does not. Any anyone elaborate? > What is the minimum module that can make this work? (make-fresh-use-modu= le)? On Tue, Mar 24, 2020 at 01:35:51AM +0100, Massimiliano Gubinelli wrote: > I think a fresh module do not have any binding. So 'lambda is not defined= =2E You would have to create bindings inside the module, maybe you could ju= st import the-scm-module . Yes, I think that is it. The documentation is fairly sparse; There is something in "6.20.12 Environments" [1], and via R5RS environments (ice-9 r5rs) you have access to some kinda standard environments (scheme-report-environment, etc.) As you already noticed (in the context of NYACC) , this topic is is also somewhat coufusing and fascinating for me :-) Cheers --tom=C3=A1s --adJ1OR3c6QgCpb/j Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAl550AoACgkQBcgs9XrR2kZlTgCeJJqUWu+4M5LZqRL2m1FC+2xF NvgAnj0tXO46H+TxpERuLeeS61Mx33wo =1osj -----END PGP SIGNATURE----- --adJ1OR3c6QgCpb/j--