[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] array-lib - reversing a rank-1 array issue
From: |
Terrence Brannon |
Subject: |
[Chicken-users] array-lib - reversing a rank-1 array issue |
Date: |
Fri, 14 Sep 2007 16:33:53 -0400 |
array-split/shared is having an issue, saying rank must be lower than
dimensionality
1) I'm assuming dimensionality means (length dimension) since it is
not defined in the docs and that would make the rank and
dimensionality equal, hence the error
2) Should it be possible to reverse a rank-1 array?
(require-extension array-lib)
(define (rank-1 . elems)
(apply array (list (length elems)) elems))
#;33> (array-reverse (rank-1 7 82 2 23))
Error: (array-split/shared) rank must be lower than dimensionality
- [Chicken-users] array-lib - reversing a rank-1 array issue,
Terrence Brannon <=