Hi Chris, On 2013-09-22 23:58, Chris Mueller wrote: > Is there any possibility to specify the string output for this > record instance?
Take a look at `define-record-printer` (http://api.call-cc.org/doc/chicken/special-forms/define-record-printer), e.g. (define-record-printer matrix (lambda (m port) (fprintf port "#<matrix ~ax~a>" (matrix-rows m) (matrix-cols m)))) Cheers, Evan _______________________________________________ Chicken-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-users
