Passing functions to functions.

Is there a way to pass a function (pointer) as in input argument to a function in mojo?
3 Replies
artemiogr97
artemiogr978mo ago
GitHub
mojo/examples/matmul.mojo at main · modularml/mojo
The Mojo Programming Language. Contribute to modularml/mojo development by creating an account on GitHub.
artemiogr97
artemiogr978mo ago
I think you can pass the function either as a parameter or as an argument
raktimbh
raktimbhOP8mo ago
Thank you!
Want results from more Discord servers?
Add your server