Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tome
on Oct 26, 2016
|
parent
|
context
|
favorite
| on:
Server APIs Project
Not anything major. It's just syntactic sugar for "\x -> x == 10".
seanparsons
on Oct 26, 2016
[–]
How is it syntactic sugar? It's just applying "10" to the first parameter of "==".
dllthomas
on Oct 27, 2016
|
parent
[–]
Without parentheses, == is infix. (== 10) is an "operator section", and applies 10 to the
second
parameter of ==. (10 ==) would be the first parameter.
seanparsons
on Oct 27, 2016
|
root
|
parent
[–]
Ah yes, very true.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: