From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Christopher Howard Newsgroups: gmane.lisp.guile.user Subject: Eval with local environment? Date: Sat, 19 Aug 2017 13:14:25 -0800 Message-ID: <1503177265.2309.17.camel@qlfiles.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-MlIf+WMuwqZ9RiYfxa1O" X-Trace: blaine.gmane.org 1503177310 16044 195.159.176.226 (19 Aug 2017 21:15:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 19 Aug 2017 21:15:10 +0000 (UTC) To: Guile User Mailing List Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Aug 19 23:15:05 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 1djB58-0003P3-6z for guile-user@m.gmane.org; Sat, 19 Aug 2017 23:14:58 +0200 Original-Received: from localhost ([::1]:35834 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1djB5E-00066C-M0 for guile-user@m.gmane.org; Sat, 19 Aug 2017 17:15:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36707) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1djB4m-00064j-U2 for guile-user@gnu.org; Sat, 19 Aug 2017 17:14:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1djB4j-0004gX-OS for guile-user@gnu.org; Sat, 19 Aug 2017 17:14:36 -0400 Original-Received: from mx.kolabnow.com ([95.128.36.42]:62850) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1djB4j-0004dA-GN for guile-user@gnu.org; Sat, 19 Aug 2017 17:14:33 -0400 Original-Received: from localhost (unknown [127.0.0.1]) by ext-mx-out003.mykolab.com (Postfix) with ESMTP id 20542E71 for ; Sat, 19 Aug 2017 23:14:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= mime-version:content-type:content-type:date:date:from:from :subject:subject:message-id:received:received:received; s= dkim20160331; t=1503177269; x=1503177291; bh=Eijqehoyx1TghdwM/cB brIYED3b//zjy4Ky48AfknrI=; b=Xdt3u97+PNE2d+/Osd9mC7uE4JIUno0k3Fh F05dAGKR/IbSnNlG6GYWecLXmkiOoXHtK7xghQvXA623gsLY3sdsDak9uQCyeWRh 9Bgu2styTlrEAE2Fw5ydUklb/9tj2YgH248ny248ufJoZejI4974BrEhh4Mx0lse mQm4KrS7V8uGroNIhUD5RNjMagS+ZeEswjwweM90duvvsZymoRInBFD/t43mYVJ7 k9pyxpR6LIB1XtGGlhoJ1eR6QszaPXFAnYoVdOwNuTUCY+1S0L2rkrW+OuwvK4p6 iR9ncaGBlrvxldOAF03boxRA1amQ7rAP6sARhCSDWgV9H9QkYXnhWagXZG/I4M3i o9Vp5R1LW5vPwCaDzNMGej1pL3ah5TsAHTi9oq4RUREWoJOIQynG+/o4yq4tVazq 7sQbTG+DCWozGqL9odx6aZa5laaWLUIpvQ9ubJjx/7PxndOjJCX8mhqPNqk65fy6 +9Qg/LI9eV3YrdtoH7gD9f4TV49H2/E2TKXkMm9j0NgSsd5isNJlwbWcsZ6xZuLV zrKGwjIopwM0LzjCcwR/X4+JYDw3jPaWhfHqQ/DPdfATiB X-Virus-Scanned: amavisd-new at mykolab.com Original-Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out003.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b0q9mlAOpOTA for ; Sat, 19 Aug 2017 23:14:29 +0200 (CEST) Original-Received: from int-mx001.mykolab.com (unknown [10.9.13.1]) by ext-mx-out003.mykolab.com (Postfix) with ESMTPS id C50A433C for ; Sat, 19 Aug 2017 23:14:29 +0200 (CEST) Original-Received: from ext-subm002.mykolab.com (unknown [10.9.6.2]) by int-mx001.mykolab.com (Postfix) with ESMTPS id B06CEFD for ; Sat, 19 Aug 2017 23:14:29 +0200 (CEST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 95.128.36.42 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:14039 Archived-At: --=-MlIf+WMuwqZ9RiYfxa1O Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I was just curious: Is there something you can pass to eval procedure that using the local environment? e.g., (let ((foo 12)) (eval 'foo (this-environment))) to get it to return 12. Of course, you could just (let ((foo 12)) foo) But suppose you were working with the identifier 'foo instead for some reason. All I saw in docs was interaction-environment and null- environment. --=-MlIf+WMuwqZ9RiYfxa1O Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEE3cRyrLOhI3rPcNVUee7NbCP9XMUFAlmYqjEACgkQee7NbCP9 XMWfYwgAkHiAaUW8qqQ3WVI804KEMqZttztJ6d2YEmsJiIHmyr4Qw0nb7IzoiDr5 o0Yb1g1raA/ZYX5Y0cdAYZgBXmtF8hYW4AAYX0xpE6Y21nhVj+IHCHSD6M5yNmH8 JEuW5Ide3cgxVaN8u2brtGW8QJ9Y6X5liem8Lu7v7ngNH7GHUbMlyFxdrCNT/e/C mhyV8wdXYVB1ApqJBH6dLQkuZkw03QKIvjvtFw+s4LySCt2oi8gTOtK4vGSUAoBv L/Yo5oKkUKAb/61Ahgf0eomxRFl1S+Gc1saph5NyvzXfgY13ReZbdeRB/6CX2zh8 qyGM6/PqDmYn4Y2dWqFKEWc2gcFLlQ== =qmLR -----END PGP SIGNATURE----- --=-MlIf+WMuwqZ9RiYfxa1O--