logoalt Hacker News

p1esktoday at 6:45 AM2 repliesview on HN

I didn’t understand that notation. Can someone please explain?


Replies

ngruhntoday at 7:13 AM

I think:

   x => a
is:

   λx. a 
and

   f <- a
is just application. I.e.

   f a
show 1 reply
jdw64today at 8:37 AM

const f = (x) => x + 1;