Hacker News new | comments | show | ask | jobs | submit login

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).




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: