From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: No Itisnt Newsgroups: gmane.lisp.guile.devel Subject: Custom printers for SRFI-9 records Date: Mon, 24 May 2010 19:26:16 -0500 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1274747198 14564 80.91.229.12 (25 May 2010 00:26:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 25 May 2010 00:26:38 +0000 (UTC) To: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue May 25 02:26:37 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 1OGhya-0003lA-Pw for guile-devel@m.gmane.org; Tue, 25 May 2010 02:26:33 +0200 Original-Received: from localhost ([127.0.0.1]:44611 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OGhya-0003kJ-2Y for guile-devel@m.gmane.org; Mon, 24 May 2010 20:26:32 -0400 Original-Received: from [140.186.70.92] (port=48826 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OGhyR-0003go-Ob for guile-devel@gnu.org; Mon, 24 May 2010 20:26:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OGhyN-0005CC-22 for guile-devel@gnu.org; Mon, 24 May 2010 20:26:23 -0400 Original-Received: from mail-qy0-f187.google.com ([209.85.221.187]:43310) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OGhyM-0005By-VN for guile-devel@gnu.org; Mon, 24 May 2010 20:26:19 -0400 Original-Received: by qyk17 with SMTP id 17so5557354qyk.12 for ; Mon, 24 May 2010 17:26:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=NqO3Ol4EAk/Ohvj3OW1injve1Jw8NMYiKv9YOBcmn9M=; b=ThXxC7Ylo6dm3DbELXE2yRsPuMAGtqLcoQNoaw5BJW8agpriyC5gMF4nLR/j9oehSo dS9Qyi8CuznPDfKxwvzP+774iQcGdBQA42g30pV21hdvRtUOFwRnLp84qqDNKTvW7W1h 9V9EMKd7JoSC92SbT6Usr963HKPD8R4A8W0rs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=CMJh0zO2k6ieEtoL02F8z6HE37T9StJGnUHlbFesDDJTtHQu4yeCT+fYycQOwcCGUb zsYlJMDtjZonD90UL4Ju0inZO1c4JpUTgv7RXXy2wt8ftZlRyNi4jvHv0zhPXo84Q3Ag 1X4WgFT3JeWZpjgOcO1+R/tvtxRczfS2pKmWA= Original-Received: by 10.224.87.106 with SMTP id v42mr3670541qal.23.1274747176294; Mon, 24 May 2010 17:26:16 -0700 (PDT) Original-Received: by 10.229.239.84 with HTTP; Mon, 24 May 2010 17:26:16 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:10363 Archived-At: One thing I'm missing, and maybe I just didn't see it, is a way to define custom printers for SRFI-9 records. (define-syntax define-record-printer (syntax-rules () ((_ name thunk) (struct-set! name vtable-index-printer thunk)))) Does something like that already exist? If not, 1) do yall think it's a good idea? 2) where should it go?