Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
runeks
on Sept 21, 2020
|
parent
|
context
|
favorite
| on:
Haskell RecordDotSyntax language extension proposa...
I am under the impression that it’s undesirable to have the syntactical meaning change based on the type of the expressions involved.
IncRnd
on Sept 21, 2020
[–]
I agree. My understanding is this is just syntactic sugar.
srtjstjsj
on Sept 21, 2020
|
parent
[–]
It's
ambiguous
syntactic sugar, that can only be resolved by applying the semantic type checking pass. That's the kind of sigare that that leads to vexing parses, "causes cancer of the semicolon" as they say.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: