[gambit-list] overload pp for define-types

lowly coder lowlycoder at huoyanjinjing.com
Sat Jun 27 22:32:41 EDT 2009


Is there a way to overload pp for define-types? (maybe some undocumented arg
in (define-type ...) ?) I would like to change how they're printed. Also,
can I override existing ones, like f32vector? When I have something that's
1000 f32's, I'd prefer an output of <#f32vector ...> rather than all 1000
elems.

Thanks!

(If not, I'll just define a separate command like pp2 and use that instead,
but overloading pp somehow seems more elegant).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20090627/37e21b89/attachment.htm>


More information about the Gambit-list mailing list