On Sep 15, 2025, at 11:32 PM, pixel...@gmail.com wrote:
Per the meeting today, I wanted to stay away from Common Lisp as much as possible and write the Fibonacci function in an InterLisp way. This would let us go through the traditional compilation and saving route without the compiler getting confused.
However as you may see, it's insisting on using CL:PSETQ...
<Screenshot_20250916_002819.png>--
You received this message because you are subscribed to the Google Groups "Medley Interlisp core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lispcore+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/lispcore/a999d241-c437-48f2-b154-4bae7bfe9fc6n%40googlegroups.com.
<Screenshot_20250916_002819.png>
--
You received this message because you are subscribed to the Google Groups "Medley Interlisp core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lispcore+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/lispcore/a999d241-c437-48f2-b154-4bae7bfe9fc6n%40googlegroups.com.
On Sep 16, 2025, at 12:03 AM, Ron Kaplan <ron.k...@post.harvard.edu> wrote:
Hmm, I see that there is man entry for PSETQ, but I never heard of it. And in fact, as near as I can tell, it doesn't actually exist. Not as a function or as a macro. And it isn't called anywhere that masterscope knows about.
To view this discussion visit https://groups.google.com/d/msgid/lispcore/2C168B11-7E35-4FDA-B1FF-5D4F10AD10D4%40post.harvard.edu.
To view this discussion visit https://groups.google.com/d/msgid/lispcore/CD0FC3FC-1931-46D7-A86D-0E1299F94D22%40gmail.com.
On Sep 15, 2025, at 11:35 PM, pixel...@gmail.com wrote:
You may need to right click and select view image to get the full thing in another tab.
--
You received this message because you are subscribed to the Google Groups "Medley Interlisp core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lispcore+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/lispcore/3b875b19-1ec7-4b32-a3ba-5ce63286bc62n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/lispcore/560b8304-e038-4794-bc2c-40592a31e509n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/lispcore/CAGi1hzvKRdLQPbr3pu7dpTqw3ApQ7tr6Gxh1hX6zo8yh10ZhiQ%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/lispcore/c2a78cd4-37c0-4915-a9e8-3fe66fc3905bn%40googlegroups.com.
(DEFMACRO CL:PSETQ (&REST TAIL)
(AND TAIL `(PROGN (SETQ ,(|pop| TAIL)
,(CL:IF (CDR TAIL)
`(PROG1 ,(POP TAIL)
(CL:PSETQ ,@TAIL))
(CAR TAIL)))
NIL)))
To view this discussion visit https://groups.google.com/d/msgid/lispcore/CAKq15veHN2mEPRH-19kqW_mAUu1jOqQMmqROdT%3DgT6W0zX8Gbw%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/lispcore/cbc42b22-406a-4b56-8120-d61fc38a5ea6n%40googlegroups.com.
SBCL:
(LET* ((A 10) (B 20) (C 30))
(ILPSETQ A B C B C A) (LIST A B C)))
(20 20 10)
-- Nick
To view this discussion visit https://groups.google.com/d/msgid/lispcore/9736463a-116b-48b7-aa58-0e0d0c3aa6a8n%40googlegroups.com.
<Screenshot_20250919_014124.png>