HCoop
/
bpt
/
guile.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* arrays.scm, deprecated.scm (uniform-vector-fill!,
[bpt/guile.git]
/
ice-9
/
boot-9.scm
diff --git
a/ice-9/boot-9.scm
b/ice-9/boot-9.scm
index
e5bdd67
..
d31c650
100644
(file)
--- a/
ice-9/boot-9.scm
+++ b/
ice-9/boot-9.scm
@@
-301,8
+301,9
@@
;;; {Arrays}
;;;
-(if (provided? 'array)
- (primitive-load-path "ice-9/arrays.scm"))
+(define (array-shape a)
+ (map (lambda (ind) (if (number? ind) (list 0 (+ -1 ind)) ind))
+ (array-dimensions a)))
\f