Changeset 7924
- Timestamp:
- Dec 20, 2007, 6:31:51 AM (17 years ago)
- File:
-
- 1 edited
-
branches/working-0711/ccl/level-1/l1-typesys.lisp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/working-0711/ccl/level-1/l1-typesys.lisp
r7918 r7924 3641 3641 ((* :maybe) t)) 3642 3642 (or (eq (array-ctype-dimensions type) '*) 3643 (do ((want (array-ctype-dimensions type) (cdr want)) 3644 (got (array-dimensions object) (cdr got))) 3645 ((and (null want) (null got)) t) 3646 (unless (and want got 3647 (or (eq (car want) '*) 3648 (= (car want) (car got)))) 3649 (return nil)))) 3643 (let ((rank (array-rank object))) 3644 (declare (fixnum rank)) 3645 (do* ((n 0 (1+ n)) 3646 (want (array-ctype-dimensions type) (cdr want)) 3647 (got (and (< n rank) (array-dimension object n)) 3648 (and (< n rank) (array-dimension object n)))) 3649 ((and (null want) (null got)) t) 3650 (declare (fixnum n)) 3651 (unless (and want got 3652 (or (eq (car want) '*) 3653 (= (car want) got))) 3654 (return nil))))) 3650 3655 (or (eq (array-ctype-element-type type) *wild-type*) 3651 3656 (type= (array-ctype-specialized-element-type type)
Note:
See TracChangeset
for help on using the changeset viewer.
