Add new parser command instruction
Intermediary commit - Add handleBrowse function without implementation
Load unconditionally the content of the file extern.purs for the current
loaded module.
Ensure:
- the module is specified
- the file exists before trying to read it
Remove the access to the state since we do not touch it.
https://github.com/purescript/purescript/pull/662#discussion_r19645354
Internalize function inside a where clause
https://github.com/purescript/purescript/pull/662#discussion_r19645443
Remove useless blank space
Add declaration
Improve implementation avoiding loading extern.purs file
Add a :s command to list the modules loaded in current session.
Add a :s import and :s loaded subcommand to respectively see the loaded
modules (in current session) and the imported modules
Fix path computation bug
Remove useless code
Add a hack to be able to browse prelude's signatures.
Refactor - Remove comments + improve intermediary function name
Add order to list :b and :s outputs
Improve implementation for :b(rowse) using standard environment
computation routine.
(As suggested by @paf31)
Deal with edge case (no module name or bad one)
Remove warning about redundant imports
Remove warning about non-exhaustive pattern (is this the right way?)