Kevin Ryde <[EMAIL PROTECTED]> writes: > Szavai Gyula <[EMAIL PROTECTED]> writes: >> >> (let ((b (make-shared-array #(1) (lambda (x) '(0)) 2))) > > Thanks, though I'm not sure that's supposed to work. I suspect you're > not meant to make parts of the old array appear in more than one place > in the new array. Perhaps Marius can say what the intention is.
Hmm, I've never thought about this case. However, if I understand things right, it is well defined and we should support it. My understanding is that we are talking about mapping functions here that are constant. That's maybe a bit unusual, but covered by the 'theory' explained in the manual. We have warnings in the manual that the increments for a dimension can be negative and that people should be prepared for that. We should extend those warnings to zero increments. (And probably review our own code.) -- GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405 _______________________________________________ Bug-guile mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-guile
