PureScript - How to reload a module in psci?

Is there a way to reload a module or all modules in a PureScript REPL? If I make changes to a module, I have :quit, and then importall the modules that I work with every time.

+4
source share
1 answer

You can use :ror :reset, but you still have to import the modules again. We have plans to try to make this easier by allowing the PSCi configuration file to use the default set for import at boot.

Another option is to define your own module with the necessary re-exports. Then you only need to perform a reboot followed by a single import.

+3
source

Source: https://habr.com/ru/post/1670349/


All Articles