From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: stefan Newsgroups: gmane.lisp.guile.devel Subject: Re: srfe records in reworked match Date: Thu, 22 Apr 2010 19:09:54 +0200 Message-ID: <201004221909.54854.stefan.tampe@spray.se> References: <201004201514.18375.stefan.tampe@spray.se> <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 1271958611 4708 80.91.229.12 (22 Apr 2010 17:50:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 22 Apr 2010 17:50:11 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Apr 22 19:50:10 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 1O50XL-0000rO-T6 for guile-devel@m.gmane.org; Thu, 22 Apr 2010 19:50:04 +0200 Original-Received: from localhost ([127.0.0.1]:37320 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O50XL-0000Wi-42 for guile-devel@m.gmane.org; Thu, 22 Apr 2010 13:50:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O50XD-0000VK-S6 for guile-devel@gnu.org; Thu, 22 Apr 2010 13:49:55 -0400 Original-Received: from [140.186.70.92] (port=33518 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O50XC-0000Tp-A5 for guile-devel@gnu.org; Thu, 22 Apr 2010 13:49:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O50XB-0006zI-9d for guile-devel@gnu.org; Thu, 22 Apr 2010 13:49:54 -0400 Original-Received: from spsmtp02oc.mail2world.com ([74.202.142.198]:2187) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O50XB-0006uz-50 for guile-devel@gnu.org; Thu, 22 Apr 2010 13:49:53 -0400 Original-Received: from mail pickup service by spsmtp02oc.mail2world.com with Microsoft SMTPSVC; Thu, 22 Apr 2010 10:48:43 -0700 auth-sender: stefan.tampe@spray.se Original-Received: from 82.182.254.46 unverified ([82.182.254.46]) by spsmtp02oc.mail2world.com with Mail2World SMTP Server; Thu, 22 Apr 2010 10:48:42 -0700 User-Agent: KMail/1.12.4 (Linux/2.6.31.12-0.2-desktop; KDE/4.3.5; x86_64; ; ) In-Reply-To: <87fx2n8yg8.fsf@gnu.org> X-OriginalArrivalTime: 22 Apr 2010 17:48:43.0503 (UTC) FILETIME=[0CDE4FF0:01CAE244] X-detected-operating-system: by eggs.gnu.org: Windows 2000 SP4, XP SP1+ 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:10293 Archived-At: ok, It took much longer time to make this work then the logic deserved acording to your wishes, mainly because I have not wrapped my head correctly around define-syntax and friends.=20 There is a discussion going on right know on accessors et all. I hope that= =20 you can detail the conclusion of that discussion in the end so that my=20 inexperienced ears can understand. Anyway. Setters and getters of the match construct works as well on a basic level. e.g. (struct-ref n 1), (struct-set! n 2 x). So if there is a record= =20 with a custom getter and or setter that getter and setter will not be used. This is verified to work with srfi-9. =46rom a man with a strangly twisted head /Stefan