Added an implementation of 'elt' to ps-macro-lib.
authorVladimir Sedach <vsedach@gmail.com>
Tue, 30 Dec 2008 21:10:47 +0000 (14:10 -0700)
committerVladimir Sedach <vsedach@gmail.com>
Tue, 30 Dec 2008 21:10:47 +0000 (14:10 -0700)
src/lib/ps-macro-lib.lisp
src/package.lisp

index 17ec73d..dc53065 100644 (file)
@@ -92,3 +92,5 @@
 (defpsmacro concat-string (&rest things)
   (cons '+ things))
 
+(defpsmacro elt (array index)
+  `(aref ,array ,index))
index 126fd5a..7ae55ce 100644 (file)
@@ -20,6 +20,7 @@
       #:array
       #:list
       #:aref
+      #:elt
       #:make-array
       #:[]