When I use cabal repl I often type :set -XOverloadedStrings
in the session. Is there a way to turn on this extension automatically using command line flags for cabal repl
or some config file?
In ~/.ghci
put:
:set -XOverloadedStrings
Putting on ~/.ghci
will enable ghci
to load those specific configuration whenever it is started.
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