Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rsc
on July 15, 2020
|
parent
|
context
|
favorite
| on:
Go generics may use square brackets [] not parenth...
In some languages unbounded parser lookahead is enough. But parser lookahead does not solve the ambiguous Go example given in the mail. Only type information would.
soamv
on July 15, 2020
[–]
Why doesn't the same idea of adding a type keyword work there too?
a, b := w<type x,y>(z)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: