From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ian Price Newsgroups: gmane.lisp.guile.devel Subject: Re: things are eq? but not generated at the same time Date: Wed, 05 Sep 2012 20:24:58 +0100 Message-ID: <87ipbsi86t.fsf@Kagami.home> References: <87mx14i8pk.fsf@Kagami.home> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1346873113 13128 80.91.229.3 (5 Sep 2012 19:25:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Sep 2012 19:25:13 +0000 (UTC) Cc: guile-devel To: Stefan Israelsson Tampe Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Sep 05 21:25:15 2012 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T9LDs-0004Vh-CM for guile-devel@m.gmane.org; Wed, 05 Sep 2012 21:25:12 +0200 Original-Received: from localhost ([::1]:44541 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9LDp-00035V-DU for guile-devel@m.gmane.org; Wed, 05 Sep 2012 15:25:09 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44024) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9LDl-00034u-Ld for guile-devel@gnu.org; Wed, 05 Sep 2012 15:25:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9LDk-00027y-Kw for guile-devel@gnu.org; Wed, 05 Sep 2012 15:25:05 -0400 Original-Received: from mail-wi0-f169.google.com ([209.85.212.169]:58403) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9LDk-00026p-EV for guile-devel@gnu.org; Wed, 05 Sep 2012 15:25:04 -0400 Original-Received: by wibhm2 with SMTP id hm2so4303154wib.0 for ; Wed, 05 Sep 2012 12:25:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=ID0jobd9LhTr2fTeXOCiokTxaQg5ja37HJGti1YxwXc=; b=CEALVYkWZiac25NJlJ+TjnnUHQ5/F2GbA4kovHLnm/XVSDR2JYLwVWNBS1iMtN/jgD ded8gB0cQYsQWfwiU/7Wa5EsBWZhmWOXPXoDVazmQC436fw8QxCDiACwEVx8ngTjzO72 +zMapaCaxn/wPqV/S3+4Aa3TpBku/Zk+KsVfddWRT1O4iQ/j+f3ub11PihJZmgQWNhsJ nvLRLVLaPwKKd8uVTTaa44I72QqJQuKgl+fH+HHgE9d/tXi/YwDcpIMDwZO73QPJv+RJ LswjXz5imvOo2vy/8H5jsSE++hpd7pICMBsUp48DChRAx/pN+1k7VhfNwcesAuoFmj33 rxlQ== Original-Received: by 10.180.105.6 with SMTP id gi6mr40292819wib.4.1346873103600; Wed, 05 Sep 2012 12:25:03 -0700 (PDT) Original-Received: from Kagami.home (host86-174-96-191.range86-174.btcentralplus.com. [86.174.96.191]) by mx.google.com with ESMTPS id do5sm192375wib.10.2012.09.05.12.25.01 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 05 Sep 2012 12:25:02 -0700 (PDT) In-Reply-To: <87mx14i8pk.fsf@Kagami.home> (Ian Price's message of "Wed, 05 Sep 2012 20:13:43 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.212.169 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:14858 Archived-At: Ian Price writes: > anyway. Anyway if vectors are immutable, as I believe they are, it I, of course, meant vector literals, but a quick test shows this is not the case. (define v #(1 2 3)) (pk v) (vector-set! v 0 #f) (pk v) ~ $ guile -s /tmp/test.scm ;;; (#(1 2 3)) ;;; (#(#f 2 3)) Hmm, the sharing is indeed a problem then. -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"