Re: Printing a custom representation of hash table at the repl

2016-07-08 Thread Pascal J. Bourguignon
Diogo Franco writes: > Hello, > > ecl does not specialize the print-object method on hash-tables: > > > (find-method #'print-object '() '(hash-table t)) > Debugger received error of type: SIMPLE-ERROR > There is no method on the generic function PRINT-OBJECT that > agrees on quali

Re: Printing a custom representation of hash table at the repl

2016-07-07 Thread Stas Boukarev
According to http://www.lispworks.com/documentation/HyperSpec/Body/11_abab.htm section 19, you can't actually define such methods. On Thu, Jul 7, 2016 at 1:13 PM, Diogo Franco wrote: > Hello, > > ecl does not specialize the print-object method on hash-tables: > >> > (find-method #'print-object '(