Kevin Ryde <[EMAIL PROTECTED]> writes:
> [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
[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
Hi,
The following patch fixes `make-uniform-array' in 1.7 so that it
properly initializes vectors according to the FILL argument --- see the
discussion on `guile-user'[0].
The `#\nul' case mentioned in that thread remains somewhat incompatible
but perhaps this is not too much of a problem. Hmm..