unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Stephen Scheck <singularsyntax@gmail.com>
To: guile-user@gnu.org
Subject: Re: (un)quoting, evaluation, and environments
Date: Mon, 31 Aug 2020 16:59:26 -0400	[thread overview]
Message-ID: <CAKjnHz1EYNE26-RgS2j1hBXC3mu51x-uZ-6wDOaKGMFyRLcbMg@mail.gmail.com> (raw)
In-Reply-To: <CAKjnHz0DucSH00E+nW+BJJjXtE+RZ-e5E8WyrKOtiJOutRkfog@mail.gmail.com>

> Why does b get evaluated in the default environment (current module), but
gets unquoted for one passed as an argument to eval-string? What is
different about these environments? Is there a correct way to use a
different environment, such that the result is the same?

Hmm ... if I call (make-fresh-user-module) instead of (null-environment 5),
it works ... *shrug* ... but is that the safest way to get an empty
environment for evaluation purposes?


      reply	other threads:[~2020-08-31 20:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-31 20:31 (un)quoting, evaluation, and environments Stephen Scheck
2020-08-31 20:59 ` Stephen Scheck [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKjnHz1EYNE26-RgS2j1hBXC3mu51x-uZ-6wDOaKGMFyRLcbMg@mail.gmail.com \
    --to=singularsyntax@gmail.com \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).