I had some troubles earlier importing System.Random, and in the process of trying to fix this I did the command :set -v
in the ghci terminal.
So now whenever I use :r
, I get a lot of unnecessary information. So how do i unset the :set -v
command?
Quits GHCi. You can also quit by typing control-D at the prompt. Attempts to reload the current target set (see :load ) if any of the modules in the set, or any dependent module, has changed. Note that this may entail loading new modules, or dropping modules which are no longer indirectly required by the target.
Introduction. GHCi is GHC's interactive environment, in which Haskell expressions can be interactively evaluated and programs can be interpreted.
Open a command window and navigate to the directory where you want to keep your Haskell source files. Run Haskell by typing ghci or ghci MyFile. hs. (The "i" in "GHCi" stands for "interactive", as opposed to compiling and producing an executable file.)
You can set the verbosity level to level n with :set -vn
. If you write -v
, this is short for -v3
. The default verbosity level is 0
, so you can set the verbosity level back to 0
with:
:set -v0
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