Barry Margolin
7/30/2015 3:51:00 PM
In article <4f093e1b-f22f-4aca-a8da-75d306a06154@googlegroups.com>,
Tom Fawcett <tom.fawcett@gmail.com> wrote:
> Hi. I'm dissecting an old Interlisp-D program that examines function
> definitions. I don't have access to a Xerox machine and I couldn't get the
> open-source Interlisp interpreter to work.
>
> Could someone who has access to Interlisp do:
> (defineq (foo (lambda (a b c) (+ a b c))))
>
> and
>
> (defineq (PT (NLAMBDA X (CONS (QUOTE PT) X)))
>
> and then tell me exactly what the definition slots of FOO and PT contain?
>
> Thanks!
> -Tom
> PS. I do have an old Interlisp manual but I couldn't find a definitive spec.
I did some googling, and apparently NLAMBDA creates a function whose
arguments aren't evaluated. And I expect that using a symbol in place of
the parameter list causes it to be bound to the list of arguments. So
(pt foo bar) => (pt foo bar)
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***