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
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
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