3 ms·
You're right. Let's compare to a more adequate language. Like Ruby. def inc_all(i, xs) xs.map { |x| x + i } end
by psygnisfive 17y ago
You're right. Let's compare to a more adequate language. Like Ruby.
def inc_all(i, xs)
xs.map { |x| x + i }
end