ryhuff83
ryhuff83
MModular
Created by narup on 9/29/2023 in #questions
Can I load a mojo file on the REPL session like irb in ruby so I can execute function?
Yeah, I was able to import functions from custom packages/modules in the REPL. The REPL must be started in the same directory as the packages/modules you want to use. I'm quite new to Mojo so maybe there a way to add these to the Mojo library path (like in Python), but I haven't looked into it yet...
2 replies