Is there already a way to load one of your modules in the REPL? Or is the best approach copy-and-pasting the contents of the module into it for now?
No it's not there yet. It doesn't remember anything in between entries.
Every expression you enter becomes the main
of a new program. It gets compiled, executed, printed out, and then thrown away. There's no persistent state.
So to test a module you'd have to paste it all in as a single multi-line expression.
Last updated: Jul 06 2025 at 12:14 UTC