RosettaCodeData/Task/Memory-allocation/Common-Lisp/memory-allocation-1.lisp

6 lines
123 B
Common Lisp
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
(defun show-allocation ()
(let ((a (cons 1 2))
(b (cons 1 2)))
(declare (dynamic-extent b))
(list a b)))