[EMAIL PROTECTED] (Ludovic Courtès) writes: > > $ ./pre-inst-guile # i.e., 1.7 > guile> (define a (make-uniform-array #\nul 10)) > ERROR: Wrong type (expecting exact integer): #\nul > ABORT: (wrong-type-arg)
That's a bug. In 1.6 you could pass chars to array-set! (and fill) with a #\nul (ie. byte) uniform array, that should still be possible. (I thought I fixed something close to that another time too, before the big srfi-4 integration. Second time lucky maybe ...) > -(define (make-uniform-array prot . args) > - (dimensions->uniform-array args prot)) > +(define (make-uniform-array prot . bounds) > + (dimensions->uniform-array bounds prot prot)) Thanks, I applied that. But if you're fixing a bug then you should make a test case which exercises the problem, to show it's really fixed (which I guess it's not yet fully fixed in this case), and catch it if it rears its ugly head again. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel