From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!.POSTED!not-for-mail
From: Matt Wette <matt.wette@gmail.com>
Newsgroups: gmane.lisp.guile.user
Subject: Re: convert environment to module `name'
Date: Sun, 5 Mar 2017 06:09:18 -0800
Message-ID: <C88379F0-F8E1-4B71-88F9-E90B3591C82B@gmail.com>
References: <179E954D-B043-4044-B930-FAB621149514@gmail.com>
	<87mvd09lxn.fsf@zigzag.favinet>
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\))
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Trace: blaine.gmane.org 1488723004 30160 195.159.176.226 (5 Mar 2017 14:10:04 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sun, 5 Mar 2017 14:10:04 +0000 (UTC)
To: guile-user@gnu.org
Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Mar 05 15:09:57 2017
Return-path: <guile-user-bounces+guile-user=m.gmane.org@gnu.org>
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 <guile-user-bounces+guile-user=m.gmane.org@gnu.org>)
	id 1ckWrF-0007I9-08
	for guile-user@m.gmane.org; Sun, 05 Mar 2017 15:09:57 +0100
Original-Received: from localhost ([::1]:38921 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <guile-user-bounces+guile-user=m.gmane.org@gnu.org>)
	id 1ckWrL-0002XF-2a
	for guile-user@m.gmane.org; Sun, 05 Mar 2017 09:10:03 -0500
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55453)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <matt.wette@gmail.com>) id 1ckWqo-0002X9-8C
	for guile-user@gnu.org; Sun, 05 Mar 2017 09:09:31 -0500
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <matt.wette@gmail.com>) id 1ckWqj-0004lq-AR
	for guile-user@gnu.org; Sun, 05 Mar 2017 09:09:30 -0500
Original-Received: from mail-pf0-x235.google.com ([2607:f8b0:400e:c00::235]:35878)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <matt.wette@gmail.com>)
	id 1ckWqj-0004lb-3M
	for guile-user@gnu.org; Sun, 05 Mar 2017 09:09:25 -0500
Original-Received: by mail-pf0-x235.google.com with SMTP id o126so2445769pfb.3
	for <guile-user@gnu.org>; Sun, 05 Mar 2017 06:09:25 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
	h=from:content-transfer-encoding:mime-version:subject:date:references
	:to:in-reply-to:message-id;
	bh=uKOA0DtUgpbrWYdtBzX0qjVg2nhfYLTvwOxk45XjqgI=;
	b=UrqSU4HXydAjdXnTYS3WgzR4PjbLkehfAS3a4TiYk0Ove6GK745R329yQohVHH1T96
	MjED6luZX5UVjeqEdSTQPrhMht8+RqheDSi45VweJo5/NHZS7NxZbjqAhe6ePLCIZk8R
	8ShsTeuvAmFgChhL2rtf0K/kyPAtIRj1ttrbO6ZzW53zzEP3GB0z1JZGbQ5DlK8NMBqC
	15XbqHHUqcqnzMQm1op0Qgct9h7Jjmp2yDWAdttPNBH/jtsneiysaLYUgv2N188ySWYm
	35jMqaxl2f0ughLCrqqk29ubIwWjF+x3DiKZo+RV1YqdLmszvjBke7hTjeMfDEu1/j5b
	dmHw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:from:content-transfer-encoding:mime-version
	:subject:date:references:to:in-reply-to:message-id;
	bh=uKOA0DtUgpbrWYdtBzX0qjVg2nhfYLTvwOxk45XjqgI=;
	b=O1gSK/OtyMjh0l25DMKxtkgMKuves1W5NJhamDRE3h77jdx/Quy8W6XgjJuTg55X5O
	KG+0yIPNxnGpvI1mTXjXR4XKgCr6afn11ghMSd9VNt9HvB8a+Ey2PChGZCAO38fR4zAT
	M8+j50+zc9hd8OuXjSdk247akjvD63P2aEiP8MXRmS7H7UWKStOJwyKLkeqnEUD9Pl0Z
	ked4xUrVdvGM35nHT+Zxjc9muEq06bi4RrZIWamCXcEqdbKB4VkSgjYHruC2cIWHzYeT
	3WNB3BNtctkCPRihhOJr8D89UcFnAkzudctCcG48xcwziT5ltxMyVWnRb0px2LZ8hwii
	4Mpw==
X-Gm-Message-State: AMke39mP2PXxEGObFkuBkIE5HBlANeh5NE9oYe/zZhOqa5RZk3ncZuwSgknGajm1O2PkJQ==
X-Received: by 10.84.202.163 with SMTP id x32mr18549377pld.67.1488722963598;
	Sun, 05 Mar 2017 06:09:23 -0800 (PST)
Original-Received: from [192.168.2.114] (216-165-236-44.championbroadband.com.
	[216.165.236.44]) by smtp.gmail.com with ESMTPSA id
	a8sm33951110pfa.30.2017.03.05.06.09.21 for <guile-user@gnu.org>
	(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Sun, 05 Mar 2017 06:09:22 -0800 (PST)
In-Reply-To: <87mvd09lxn.fsf@zigzag.favinet>
X-Mailer: Apple Mail (2.3259)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2607:f8b0:400e:c00::235
X-BeenThere: guile-user@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: General Guile related discussions <guile-user.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/guile-user>,
	<mailto:guile-user-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/guile-user/>
List-Post: <mailto:guile-user@gnu.org>
List-Help: <mailto:guile-user-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guile-user>,
	<mailto:guile-user-request@gnu.org?subject=subscribe>
Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org
Original-Sender: "guile-user" <guile-user-bounces+guile-user=m.gmane.org@gnu.org>
Xref: news.gmane.org gmane.lisp.guile.user:13408
Archived-At: <http://permalink.gmane.org/gmane.lisp.guile.user/13408>


> On Mar 5, 2017, at 12:17 AM, Thien-Thi Nguyen <ttn@gnu.org> wrote:
>=20
>=20
> () Matt Wette <matt.wette@gmail.com>
> () Sat, 4 Mar 2017 10:57:19 -0800
>=20
>   I don=E2=80=99t know how to get the list-symbol path =E2=80=9Cmod =
from env=E2=80=9D
>   from the env argument.  Any ideas?
>=20
> I think =E2=80=98module-name=E2=80=99 is what you need:
>=20
> scheme@(guile-user)> (current-module)
> $1 =3D #<directory (guile-user) 83e2630>
> scheme@(guile-user)> (module-name (current-module))
> $2 =3D (guile-user)

Thanks!=