This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
tutorials:beginner:designators [2016/03/04 14:09]
tutorials:beginner:designators [2016/03/04 14:24] (current)
gkazhoya old revision restored (2016/01/25 18:12)
Line 22: Line 22:
 <code lisp> <code lisp>
-(defparameter spy-location (make-designator ​'location `((:to :see) (:object ,​prime-minister))))+(defparameter spy-location (make-designator ​:location `((:to :see) (:object ,​prime-minister))))
 </​code>​ </​code>​
Line 80: Line 80:
 <code lisp> <code lisp>
-TUT> (defparameter my-desig (make-designator ​'action '​((:​type :shape) (:shape :triangle) (:radius 3))))+TUT> (defparameter my-desig (make-designator ​:action '​((:​type :shape) (:shape :triangle) (:radius 3))))
 TUT> (desig-prop-value my-desig :radius) TUT> (desig-prop-value my-desig :radius)
Line 188: Line 188:
 <code lisp> <code lisp>
-TUT> (defparameter my-desig-2 (make-designator ​'action '​((:​type :shape) (:shape :triangle) (:radius 5))))+TUT> (defparameter my-desig-2 (make-designator ​:action '​((:​type :shape) (:shape :triangle) (:radius 5))))
 TUT> (reference my-desig-2) TUT> (reference my-desig-2)