Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by p1esk

7 hours ago

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

5 comments

p1esk

Reply

ngruhn  6 hours ago

I think:

   x => a

is:

   λx. a 

and

   f <- a

is just application. I.e.

   f a

  • lefra  6 hours ago

    What about big T, square/angle brackets, and braces?

    • ngruhn  6 hours ago

      yeah no idea

jdw64  5 hours ago

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

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities