Re: plisp-mode on melpa

2020-05-02 Thread Jean-Christophe Helary
> On May 2, 2020, at 14:04, Jean-Christophe Helary > wrote: > > > >> On Apr 26, 2020, at 10:43, Alexis wrote: >> >> >> Jean-Christophe Helary writes: >> >>> Thank you Alexis, and sorry to bother you about that. It was late but it's >>> something I could have checked myself. >> >> It'

Re: miniPicoLisp cons(Nil, Nil);

2020-05-02 Thread Alexander Burger
Hi Kashyap, > Could you please tell me why we have the cons(Nil, Nil); in gen3m.c right > after insert(&Intern, "NIL", romSym("NIL", "(Rom+1)")); ? This allocates a dummy cell, required by 'NIL'. From doc/structures you see NIL: / | V +-+-+-+-

Re: miniPicoLisp cons(Nil, Nil);

2020-05-02 Thread C K Kashyap
Oh yes thanks Alex, Regards, Kashyap On Sat, May 2, 2020 at 7:10 AM Alexander Burger wrote: > Hi Kashyap, > > > Could you please tell me why we have the cons(Nil, Nil); in gen3m.c right > > after insert(&Intern, "NIL", romSym("NIL", "(Rom+1)")); ? > > This allocates a dummy cell, required by

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

divmod?

2020-05-02 Thread Wilhelm Fitzpatrick
I'm not finding such a thing in the function reference, but asking on the off chance I'm overlooking it. Is there a way in Picolisp to get a division result and remainder as a single operation? -wilhelm -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

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

Re: divmod?

2020-05-02 Thread Alexander Burger
Hi Wilhelm, > I'm not finding such a thing in the function > reference, but asking on the off chance I'm > overlooking it. Is there a way in Picolisp to > get a division result and remainder as a > single operation? No, there is not. I thought about it initially, but found that it makes no sense