Unless it's meant to be a secret :), I thought I'd show the printer
func argument of make-record-type in the manual,


 -- Scheme Procedure: make-record-type type-name field-names [printer]
     Create and return a new "record-type descriptor".

     TYPE-NAME is a string naming the type.  Currently it's only used
     in the printed representation of records, and in diagnostics.

     FIELD-NAMES is a list of symbols naming the fields of a record of
     the new type.  Duplicates are not allowed among these symbols.

          (make-record-type "employee" '(name age salary))

     The optional PRINTER argument is a function for printing a record
     of the new type.  It's called as `(PRINTER record port)' and
     should look at RECORD and write to PORT.


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel

Reply via email to