M
Modular11mo ago
raktimbh

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

Did you find this page helpful?