In IEx one has to first define a module in oder to define a function.
Is there a way to do that dynamically? Or extend a defined module in IEx?
I’m thinking about how this works in Lisp or Clojure where you can change the package/namespace using (in-package ) or (in-ns ).
Then you can define whatever function you want without having to re-evaluate the module definition.