Previous: , Up: multimethods   [Index]


19.8 Predefined multimethods

Ordinary Multimethod: object->string obj

Return a string representation for obj. A non–specialised method is predefined to use the following implementation:

(call-with-string-output-port
   (lambda (port)
     (display obj port)))