In srfi-122 I read arrays must be disjoint from vectors. Are they not?
On 11/1/18 5:57 PM, Shiro Kawai wrote:
> In reader syntax section it reads:
>
> The datum contains the elements in a nested-list format: a rank-1 array (i.e. vector) uses a single list
>
> I find "(i.e. vector)" part a bit confusing, for rank-1 array may not be a Scheme vector; I assume it refers to a vector in mathematical sense but wonder if we need it at all.
I agree it should be removed. Fixed in on my confuter. Though note that in Guile, Kawa, possibly other languaes,
and the proposed array specification all Scheme vector values are arrays (though not all rank-1 arrays
are vectors).
--
--Per Bothner
xxxxxx@bothner.com http://per.bothner.com/