diff options
Diffstat (limited to 'Sacla')
-rw-r--r-- | Sacla/array.lisp | 9 | ||||
-rw-r--r-- | Sacla/data-and-control.lisp | 3 |
2 files changed, 12 insertions, 0 deletions
diff --git a/Sacla/array.lisp b/Sacla/array.lisp index 4fd0147..23b6c39 100644 --- a/Sacla/array.lisp +++ b/Sacla/array.lisp @@ -27,6 +27,15 @@ ;; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +(in-package #:common-lisp) + +(export '(aref array-dimenion array-in-bounds-p array-rank + array-row-major-index array-total-size bit-andc1 bit-andc2 + bit-eqv bit-nand bit-nor bit-orc1 bit-orc2 bit-vector-p + simple-bit-vector-p vector vector-pop vector-push + vector-push-extend vectorp )) + + (defun aref (array &rest subscripts) "Access an element of ARRAY specified by SUBSCRIPTS." (row-major-aref array (apply #'array-row-major-index array subscripts))) diff --git a/Sacla/data-and-control.lisp b/Sacla/data-and-control.lisp index cea7493..236440b 100644 --- a/Sacla/data-and-control.lisp +++ b/Sacla/data-and-control.lisp @@ -26,6 +26,9 @@ ;; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ;; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +(in-package #:common-lisp) + + (defun expand-case (keyform clauses &key (test #'eql)) (let ((key (gensym)) (last (car (last clauses)))) |