From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Compall Newsgroups: gmane.lisp.guile.user Subject: Re: Interesting Behavior of 'append!' In Local Context Date: Sat, 17 Oct 2009 18:09:03 -0500 Message-ID: <2F77A419-E28E-4936-854C-5FAE76D85815@member.fsf.org> References: <4ADA4506.4090804@phy.cmich.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1255825773 29371 80.91.229.12 (18 Oct 2009 00:29:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 Oct 2009 00:29:33 +0000 (UTC) Cc: guile-user@gnu.org To: Eric McDonald Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Oct 18 02:29:23 2009 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MzJeF-0004CZ-9k for guile-user@m.gmane.org; Sun, 18 Oct 2009 02:29:23 +0200 Original-Received: from localhost ([127.0.0.1]:52425 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MzJeE-0001A4-Pb for guile-user@m.gmane.org; Sat, 17 Oct 2009 20:29:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MzIOg-0007a0-Lr for guile-user@gnu.org; Sat, 17 Oct 2009 19:09:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MzIOb-0007ZY-Ol for guile-user@gnu.org; Sat, 17 Oct 2009 19:09:14 -0400 Original-Received: from [199.232.76.173] (port=53174 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MzIOb-0007ZV-Iw for guile-user@gnu.org; Sat, 17 Oct 2009 19:09:09 -0400 Original-Received: from mail-qy0-f178.google.com ([209.85.221.178]:48794) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MzIOb-0006qb-4z for guile-user@gnu.org; Sat, 17 Oct 2009 19:09:09 -0400 Original-Received: by qyk8 with SMTP id 8so2674131qyk.24 for ; Sat, 17 Oct 2009 16:09:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:references:in-reply-to :mime-version:content-type:message-id:content-transfer-encoding:cc :from:subject:date:to:x-mailer; bh=CeZlYaekep/TqReIk5vdHQEXEy+Q+h/mWhS9FOMcwQ4=; b=EJC6ZJPdWQaaPvKS9DDcNCcFgv2HsB1iHO8sndy+u2c7Vb6XWiD1/9eeOfZIeUYSjE X1vhztdZBgnOU5HbGb79ogVLK0vB38+rJoc+CrSYpeaiDWdWyGZ581gg7yPkqY+UL1bm mH7R07JH/ppITezX0oaR2xkJLv+LhER2WGV1I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:references:in-reply-to:mime-version:content-type:message-id :content-transfer-encoding:cc:from:subject:date:to:x-mailer; b=dGbj6KAS41LcfwxDVCqG+8wl+diUIGqCTy09zB3ovuVitx5t3++Mos4dCLzN0Zxo3h rKAgjmtY4nhwJWeOlNMj2hZZQV0vMLc7VN9eY8jFH0d+cKCS2ow3xSs2zx3fp23CBDf3 EvEiqOgeBp+7F7tKcUSCAFoD6J/w1qr1vCzrk= Original-Received: by 10.224.57.138 with SMTP id c10mr1838459qah.364.1255820948196; Sat, 17 Oct 2009 16:09:08 -0700 (PDT) Original-Received: from ?192.168.5.187? (nmd.sbx09759.evansin.wayport.net [98.98.195.102]) by mx.google.com with ESMTPS id 20sm2168047qyk.5.2009.10.17.16.09.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 17 Oct 2009 16:09:07 -0700 (PDT) In-Reply-To: <4ADA4506.4090804@phy.cmich.edu> X-Mailer: Apple Mail (2.1076) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Sat, 17 Oct 2009 20:29:07 -0400 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:7450 Archived-At: 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