Re: Formatting in the REPL?

2020-05-03 Thread Wilhelm Fitzpatrick
Perhaps by setting '*Prompt'? ww https://software-lab.de/doc/refP.html#*Prompt ☺/ A!ex Thanks for the tip! I think I'm on to something... : (de *Prompt (cond ((isa '+Fixed @) (format> @)) (T ""))) # *Prompt redefined -> *Prompt : : (fixed 1234 2) -> $171307330464572 12.34: (fixed+ @ (f

Re: Formatting in the REPL?

2020-05-02 Thread Alexander Burger
Hi Wilhelm, > Picolisp, and I'm wondering if there is a way > of teaching the REPL to invoke some formatting > function when displaying an object instance? Perhaps by setting '*Prompt'? ww https://software-lab.de/doc/refP.html#*Prompt ☺/ A!ex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de

Formatting in the REPL?

2020-05-02 Thread Wilhelm Fitzpatrick
I'm experimenting with the object system in Picolisp, and I'm wondering if there is a way of teaching the REPL to invoke some formatting function when displaying an object instance? Having to constantly invoke (show) to see what is going on with the instances does get a little tedious... -wil