| 1 |
#!r6rs |
| 2 |
;; Copyright 2009 Derick Eddington. My MIT-style license is in the file named |
| 3 |
;; LICENSE from the original collection this file is distributed with. |
| 4 |
|
| 5 |
(library (srfi :25 multi-dimensional-arrays arlib) |
| 6 |
(export |
| 7 |
array-shape |
| 8 |
array-length |
| 9 |
array-size |
| 10 |
array-equal? |
| 11 |
shape-for-each |
| 12 |
array-for-each-index |
| 13 |
tabulate-array |
| 14 |
tabulate-array! |
| 15 |
array-retabulate! |
| 16 |
array-map |
| 17 |
array-map! |
| 18 |
array->vector |
| 19 |
array->list |
| 20 |
share-array/prefix |
| 21 |
share-row |
| 22 |
share-column |
| 23 |
share-array/origin |
| 24 |
share-array/index! |
| 25 |
array-append |
| 26 |
transpose |
| 27 |
share-nths) |
| 28 |
(import |
| 29 |
(rnrs) |
| 30 |
(rnrs r5rs) |
| 31 |
(srfi :23 error tricks) |
| 32 |
(srfi :25 multi-dimensional-arrays all) |
| 33 |
(srfi private include)) |
| 34 |
|
| 35 |
(SRFI-23-error->R6RS "(library (srfi :25 multi-dimensional-arrays arlib))" |
| 36 |
(include/resolve ("srfi" "%3a25") "arlib.scm")) |
| 37 |
) |