You can either do
using MyModule: my_function
or export my_function from your module.
export my_function