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
artemiogr972mo 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
artemiogr972mo ago
I think you can pass the function either as a parameter or as an argument
raktimbh
raktimbh2mo ago
Thank you!