lloda schreef op do 25-11-2021 om 17:40 [+0100]:
> +Arrays with empty roots are not considered immutable because
> +@code{array-set!} operations with valid indices won't fail (since
> there
> +are no valid indices).
> +
> +@example
> +(array-mutable? #()) @result{} #t
> +@end example
> +@end deffn

By this logic, shouldn't empty subarrays (*) with a possibly mutable
and non-empty root be considered mutable as well?

(*) called ‘shared arrays’ in the manual

Greetings,
Maxime


Reply via email to