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.
Asked
Active
Viewed 303 times
5

at.
- 50,922
- 104
- 292
- 461
1 Answers
4
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.

Phil Freeman
- 4,199
- 1
- 20
- 15
-
Thank you for the clarification @Phil. – at. Feb 21 '17 at 18:54