Is there a way to reload a module or all modules in PureScript's REPL? If I make a change to a module, I've got to :quit
and then import
all the modules I'm working with each time.
PSCi "PureScript Interactive" is the REPL for PureScript. It is often a good way to explore your code, do some basic testing, or to get a feel for a new library.
You can use :r
or :reset
, but you would still need to import modules again. We have plans to try to make that simpler, by allowing PSCi configuration files with a default set of imports to use on load.
Another option is to define your own module with the reexports that you need. Then you only need to do a reload followed by one import.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With