search:common lisp setf相關網頁資料

瀏覽:1438
日期:2024-05-20
2009年6月9日 - Also see Practical Common Lisp, chapter 3: "The SETF macro is Common Lisp's main assignment operator." PCL is available online for free: ......
瀏覽:775
日期:2024-05-22
Setf. Certain forms in LISP naturally define a memory location. For example, if the value of x is a structure of type foo , then (foo-bar x) defines the bar field of the ......
瀏覽:1469
日期:2024-05-15
setf {pair}* => result*. psetf {pair}* => nil. pair::= place newvalue. Arguments and Values: place---a place. newvalue---a form. results---the multiple values[2] ......
瀏覽:1030
日期:2024-05-19
SETF is similar to SETQ but works with generalized places. Many functions for read access can be turned into write access. See LET, SETQ. SETF expanders ......
瀏覽:409
日期:2024-05-22
Then I'll discuss Common Lisp's general-purpose assignment operator, SETF , which is used to assign new values to variables and just about every other place ......
瀏覽:583
日期:2024-05-16
See also the description of setf, the Common Lisp ``general assignment statement'' that is capable of assigning to variables, array elements, and other locations....
瀏覽:323
日期:2024-05-18
Given the existence of setf in Common Lisp, it is not necessary to have setq, rplaca, and set; they are redundant. They are retained in Common Lisp because of ......
瀏覽:1183
日期:2024-05-22
In other words, (setf x y) is exactly equivalent to (setq x y) , and setq itself is strictly ... The use of nthcdr as a place form is an extension to standard Common Lisp....