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
Unfortunately, Ruby has established the pattern of mapping things to turn them into arrays. Hash#map(&), for example. I don’t think Literal::Array#map should return an Array, but I do think this is a useful capability and we should provide it via Literal::Array#to_a(&).
The text was updated successfully, but these errors were encountered:
Unfortunately, Ruby has established the pattern of mapping things to turn them into arrays.
Hash#map(&)
, for example. I don’t thinkLiteral::Array#map
should return anArray
, but I do think this is a useful capability and we should provide it viaLiteral::Array#to_a(&)
.The text was updated successfully, but these errors were encountered: