unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: No Itisnt <theseaisinhere@gmail.com>
To: guile-devel <guile-devel@gnu.org>
Subject: Custom printers for SRFI-9 records
Date: Mon, 24 May 2010 19:26:16 -0500	[thread overview]
Message-ID: <AANLkTim--1b4HpK44uhitCfV6H7e9CZUYty0qiJ59M_e@mail.gmail.com> (raw)

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?



             reply	other threads:[~2010-05-25  0:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-25  0:26 No Itisnt [this message]
2010-05-25 19:23 ` Custom printers for SRFI-9 records Ludovic Courtès
     [not found]   ` <AANLkTilzb959cEaRDcpFUntPK_r0q_9RsIE5pByG4QPm@mail.gmail.com>
2010-05-26  4:18     ` No Itisnt
2010-05-26 21:09       ` No Itisnt
2010-05-26 22:04         ` Ludovic Courtès
2010-05-26 22:42         ` Ludovic Courtès
2010-05-26 22:34       ` Ludovic Courtès
2010-05-27  2:41         ` No Itisnt
2010-05-27  8:20           ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTim--1b4HpK44uhitCfV6H7e9CZUYty0qiJ59M_e@mail.gmail.com \
    --to=theseaisinhere@gmail.com \
    --cc=guile-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).