Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
alpaca128
on Feb 28, 2023
|
parent
|
context
|
favorite
| on:
Will Carbon Replace C++?
I can't speak for the C++ example, but in your code snippet `->` points to the return type. The function takes an integer argument and effectively turns it into a tuple, so: `f(i32) -> (i32, bool)`.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: