News for hackers. Stuff that matters.
Re:Cyber Programming Language by two_handfuls on Monday June 23, 2025 @10:29PM (#44362363)
Well I'm not the author so I can only guess the answer to your ultimate question: if a function contains an await and returns a string, my guess is that the return type would be "string".

After all, that's what "colorless" implies to me: it's possible to take a non-async function and make it async without having to change its callers. This suggests we don't change its return type.

There are no comments on this comment yet.