guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Custom printers for SRFI-9 records


From: No Itisnt
Subject: Custom printers for SRFI-9 records
Date: Mon, 24 May 2010 19:26:16 -0500

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 via email to

[Prev in Thread] Current Thread [Next in Thread]