4 ms·
Curried: map (f . fst) Uncurried: \xs -> map (\x -> f (fst x)) xs Now comparing this to js would just be unfair (edit: ES6 lambdas are probably ok).
by pka 11y ago
Curried: map (f . fst)
Uncurried: \xs -> map (\x -> f (fst x)) xs
Now comparing this to js would just be unfair (edit: ES6 lambdas are probably ok).