3 ms·
That's probably why explicitly calling transform inside the block, or making transform a method of the objects you're trying to transform, is more idiomatic Rub
by philwelch 16y ago
That's probably why explicitly calling transform inside the block, or making transform a method of the objects you're trying to transform, is more idiomatic Ruby.
You're right in that list comprehensions are semantically equivalent to combining map and select, not just select.