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
We could do this, yes. Right now map returns Array in all types except Tuple. There's a bit of tension because Array is the recommended container type to use, but I guess optimizing that for StaticArray and Slice would be a good idea (one can invoke to_a at the end if you need an array in the end).
Hello,
I wonder why a
StaticArray.map
returns anArray
and not aStaticArray
.If you think it is better to returns a
StaticArray
, tell me I'll make a PR.Regards,
The text was updated successfully, but these errors were encountered: