cons
Lisp, cons and (number . number) difference
开发者_StackOverflow中文版What is the difference between (cons 23) and \'(2 . 3) in Lisp? They are not exactly the same, even though they evaluate to the same values in the REPL. Consider these[详细]
2023-03-23 11:42 分类:问答Memory allocation in Lisp
> (cons 2 3) (2 . 3) The Lisp environment needs to allocate only a single cons cell to connect the two items.[详细]
2023-03-21 07:59 分类:问答32-bit or 64-bit application on 64-bit OS?
We are developing a swing application written by Java which requires only about 128MB memory, and in the short future I don\'t see it will require much more memory like 4GB. Previously we provide alwa[详细]
2023-02-15 00:58 分类:问答Understanding infix method call and cons operator(::) in Scala
I\'m quite new to Scala programming language, and was trying something out stucked in my mind while I was following the lecture notes at here.[详细]
2023-01-05 23:39 分类:问答What does "my other car is a cdr" mean?
Can anyone well versed in lisp explain this joke to me? I\'ve done some reading on functional programming languages and know that CAR/CDR mean Contents of Address/Decrement Reg开发者_如何学运维ister[详细]
2022-12-13 16:33 分类:问答