unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Custom printers for SRFI-9 records
@ 2010-05-25  0:26 No Itisnt
  2010-05-25 19:23 ` Ludovic Courtès
  0 siblings, 1 reply; 9+ messages in thread
From: No Itisnt @ 2010-05-25  0:26 UTC (permalink / raw)
  To: guile-devel

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?



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-05-27  8:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-25  0:26 Custom printers for SRFI-9 records No Itisnt
2010-05-25 19:23 ` 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

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).