From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: srfe records in reworked match Date: Thu, 22 Apr 2010 14:52:39 +0200 Message-ID: References: <201004201514.18375.stefan.tampe@spray.se> <878w8hkxky.fsf@gnu.org> <87fx2n8yg8.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1271940688 23574 80.91.229.12 (22 Apr 2010 12:51:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 22 Apr 2010 12:51:28 +0000 (UTC) Cc: guile-devel@gnu.org To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Apr 22 14:51:26 2010 connect(): No such file or directory Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O4vsL-0001iG-DG for guile-devel@m.gmane.org; Thu, 22 Apr 2010 14:51:25 +0200 Original-Received: from localhost ([127.0.0.1]:54335 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4vsK-0008QG-Q5 for guile-devel@m.gmane.org; Thu, 22 Apr 2010 08:51:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O4vsD-0008Q9-Pn for guile-devel@gnu.org; Thu, 22 Apr 2010 08:51:17 -0400 Original-Received: from [140.186.70.92] (port=34524 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4vsB-0008OQ-7n for guile-devel@gnu.org; Thu, 22 Apr 2010 08:51:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O4vs9-00068t-O0 for guile-devel@gnu.org; Thu, 22 Apr 2010 08:51:15 -0400 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:43290 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4vs9-00068k-Lv; Thu, 22 Apr 2010 08:51:13 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id AB955AC2F8; Thu, 22 Apr 2010 08:51:12 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=+Kpbzip4/6SI qPkf3/EYwXrQX1s=; b=kkw1F4PJJoniPiB0hKEG04Y5pFXH72Q6BzqYlYkbb4we ASBLYQjO47NbXiT5G5lR2eq2QVksFysYiQnYGDPPZ81hi9DbKmGpNw0OZZdYXPM1 iboFhPNykjLLw9dqVLmmMeVuOMuS8rXvmC4rOQOT/opwJJN6rD4wkkbZujfUEgg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=sasl; b=YeE0rF bF3OflHlrzjYatOdEJNrQx/Ay5Mp3l47hjfBLhxWv2qmSDUE6ahQrZKJwmvZ7a3g KqNe+NiYk+8e/XQzcTrPpyKkmaOhTkPwEauwmMn9jP+xNaefoMgjVn7vsBVFofcz hJaGE1+g1aw1a5cEkWVCQye7pSz0YPmidnqDs= Original-Received: from a-pb-sasl-quonix. (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 963F9AC2F7; Thu, 22 Apr 2010 08:51:11 -0400 (EDT) Original-Received: from unquote (unknown [83.202.100.241]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id ED26BAC2F5; Thu, 22 Apr 2010 08:51:09 -0400 (EDT) In-Reply-To: <87fx2n8yg8.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Thu, 22 Apr 2010 14:27:03 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) X-Pobox-Relay-ID: BA8E120E-4E0D-11DF-8CD6-D033EE7EF46B-02397024!a-pb-sasl-quonix.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:10290 Archived-At: Hi, On Thu 22 Apr 2010 14:27, ludo@gnu.org (Ludovic Court=C3=A8s) writes: >> There would be no penalty making Guile's records interoperable with >> SRFI-9 records. > > Currently Guile=E2=80=99s SRFI-9 accessors are =E2=80=9Cintegratable=E2= =80=9D whereas record > accessors aren=E2=80=99t. IOW, until Guile has an inliner, there=E2=80= =99d be a penalty > making them interoperable. Perhaps I didn't explain myself here. I would like to be able to take a record, and ask what fields it has. I can do this with Guile records, and I could do so with SRFI-9 records if the vtable were an instance of record-type-vtable. This would also allow SRFI-9 records to return #t for `record?'. This does not affect SRFI-9 accessors at all; they can still be integrable. Andy --=20 http://wingolog.org/