dyon
dyon copied to clipboard
Dynamically overriding / reloading functions / modules
Would it be possible to somehow dynamically rewrite/replace a function or module at runtime, without having to write to a file explicitly? I can't find anything like that documented anywhere.
My usecase would be to use this in something like a vim-style text-editor where you (even as the user) could re-write functions and add new behaviour to the application at runtime. For this, being able to actually freely override any module or even just function would be a massive addition to flexibility.
You can, by using https://github.com/PistonDevelopers/dyon/blob/master/src/lib.dyon#L233
ohhh I didnt see that, nice! is that documented anywhere?