What does the list M-expression [x; y] in LISP?

I read this article about LISP from McCarthy (way above my skill set). Defining the score (LABEL, f, e) here , he used an M-expression (I think this is an M-expression, right if I am wrong) list[x;y]. {In fact, list [cadar [e]; [e]]}.

According to how I understood this, it symbolizes (e1, e2), where e1 and e2 are S-expressions. Is this right, or is it something else, and what is the appropriate expression for list[x;y]?

Thank.

+4
source share
1 answer

list[a; b] list , , a b .

S- : (LIST a b), , (list), - . , (a b) S-, (a, b). , LISP 1.5 Programmer’s Manual. 2. ed. Cambridge, Mass: MIT Pr, 1979. .

+3

Source: https://habr.com/ru/post/1691934/


All Articles