From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: taylanbayirli@gmail.com (Taylan Ulrich =?utf-8?Q?Bay=C4=B1rl=C4=B1?= =?utf-8?Q?=2FKammer?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] Implement SRFI-111 Boxes Date: Fri, 24 Jan 2014 10:39:45 +0100 Message-ID: <87txctzpjy.fsf@taylan.uni.cx> References: <87a9elkjmo.fsf@netris.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1390556402 2621 80.91.229.3 (24 Jan 2014 09:40:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Jan 2014 09:40:02 +0000 (UTC) Cc: guile-devel@gnu.org To: Mark H Weaver Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Jan 24 10:40:09 2014 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 1W6dF9-0006BQ-VB for guile-devel@m.gmane.org; Fri, 24 Jan 2014 10:40:08 +0100 Original-Received: from localhost ([::1]:45357 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6dF9-0007AY-Jc for guile-devel@m.gmane.org; Fri, 24 Jan 2014 04:40:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55296) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6dEz-00072O-7O for guile-devel@gnu.org; Fri, 24 Jan 2014 04:40:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W6dEt-0001Ve-ER for guile-devel@gnu.org; Fri, 24 Jan 2014 04:39:57 -0500 Original-Received: from mail-ee0-x22d.google.com ([2a00:1450:4013:c00::22d]:48177) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6dEt-0001VV-7h for guile-devel@gnu.org; Fri, 24 Jan 2014 04:39:51 -0500 Original-Received: by mail-ee0-f45.google.com with SMTP id b15so841303eek.18 for ; Fri, 24 Jan 2014 01:39:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=epGe8kWv36yAas0MeX0maQmpHywSsMsZbGyTe3Mta+4=; b=FOyLSYGM5bL34qr5KnwmbKY/bqm2wjftwJ88hGbIojmr4a0uY0acO28X5fI5hZJKtc w8Xf8ZA09h5BA4NgAmTPlgJAY9ZjZLAHss4jW/O18/uNsAeS6SVO4Hk+RhTOkwvEKtl4 4m4eaABDt+TKFRaXJHIlAHghu8qCAHQApgDXkrzXEm0Jpuk+rU7sn/uNqbsIc3fYEPNt Lqkn0QLQOUcpBYRYa7VgDKomgMxBixZas1xTWkrr0/7XbQMitol7yOqD4xK+hlNxPmx1 EMfc75FyOOMv7rBl1V8vfvu2gskxJhyzz+VQTjYwND1aFmgdaH9UVPxkVLiMfwvYERUu 0Lyw== X-Received: by 10.14.122.5 with SMTP id s5mr11563682eeh.28.1390556389679; Fri, 24 Jan 2014 01:39:49 -0800 (PST) Original-Received: from taylan.uni.cx (p4FD92B42.dip0.t-ipconnect.de. [79.217.43.66]) by mx.google.com with ESMTPSA id o43sm1412850eef.12.2014.01.24.01.39.48 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Jan 2014 01:39:48 -0800 (PST) In-Reply-To: <87a9elkjmo.fsf@netris.org> (Mark H. Weaver's message of "Fri, 24 Jan 2014 00:56:47 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c00::22d 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:16840 Archived-At: Mark H Weaver writes: > Here's an implementation of SRFI-111 Boxes for stable-2.0. > What do you think? > > Mark Has it been considered to coalesce the box type with Guile's "variable" type? I can see two concrete differences: * External representation (*not* specified by SRFI-111) * Variables can be "unbound" (empty), boxes can't So we could get away with making the box API consist of aliases to a subset of the variable API and still conform to SRFI-111. This would eliminate type-disjointness between variables and boxes, make boxes print with #