You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The #:capacity argument to make-gvector is restricted to an exact-positive-integer?, which prevents using make-gvector to create a zero-sized vector. I think this ought to be allowed, since if the capacity argument is dynamic (say, you're computing it based on indices for some subvector) returning an empty vector for the zero size case is perfectly reasonable.
The text was updated successfully, but these errors were encountered:
The
#:capacity
argument tomake-gvector
is restricted to anexact-positive-integer?
, which prevents usingmake-gvector
to create a zero-sized vector. I think this ought to be allowed, since if the capacity argument is dynamic (say, you're computing it based on indices for some subvector) returning an empty vector for the zero size case is perfectly reasonable.The text was updated successfully, but these errors were encountered: