We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is an quite old idea but it would essentially allow for a function to be called in multiple different stages before finally executing:
fn bake_a_cake(first: str)(second: i32)(third: bool): str { // function body goes here }
It could then be called like:
val first: fn((second: i32)(third: bool): str) = bake_a_cake("add something") val final: str = first(123)(false)
This would probably require an auto or automatically inferred type along with a fn type for function references.
auto
fn
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This is an quite old idea but it would essentially allow for a function to be called in multiple different stages before finally executing:
It could then be called like:
This would probably require an
auto
or automatically inferred type along with afn
type for function references.The text was updated successfully, but these errors were encountered: