Comment

Comment by spion

It returns the multiply-by-2 function. This turns out to be super useful

  map (* 2) [1, 2, 3]
will take that function and apply it to each element in the list [1,2,3].
parent spion 11 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton