From: Stephen Compall <scompall@nocandysw.com>
To: Eric McDonald <mcdonald@phy.cmich.edu>
Cc: guile-user@gnu.org
Subject: Re: Interesting Behavior of 'append!' In Local Context
Date: Sat, 17 Oct 2009 18:09:03 -0500 [thread overview]
Message-ID: <2F77A419-E28E-4936-854C-5FAE76D85815@member.fsf.org> (raw)
In-Reply-To: <4ADA4506.4090804@phy.cmich.edu>
On Oct 17, 2009, at 5:28 PM, Eric McDonald wrote:
> Notice that 'v1' does not seem to be re-initialized in the second
> invocation of 'foo'. Interestingly, if I run 'bar' with the same data,
> the problem does not manifest itself:
Literals are literally literal. That is to say:
(define (itsaliteral) '(42 42))
(eqv? (itsaliteral) (itsaliteral)) => #t
It is an error to modify literals, but it is also not required by R5RS
to detect and inform of such erroneous modification. It is, however,
not an error to rely on the eqv?-ness of repeated access of literals,
as I do in the example above.
--
Sorry but you say Nibiru is a Hoax? Doesnt Exist? So maybe The
Sumerian people doesnt exist also! --Anonymous by way of SkI
next prev parent reply other threads:[~2009-10-17 23:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-17 22:28 Interesting Behavior of 'append!' In Local Context Eric McDonald
2009-10-17 23:09 ` Stephen Compall [this message]
2009-10-18 0:36 ` Eric McDonald
2009-10-18 1:45 ` Stephen Compall
2009-10-18 13:53 ` Eric McDonald
2009-10-18 10:25 ` Andy Wingo
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=2F77A419-E28E-4936-854C-5FAE76D85815@member.fsf.org \
--to=scompall@nocandysw.com \
--cc=guile-user@gnu.org \
--cc=mcdonald@phy.cmich.edu \
/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).