To include Cabal dependencies I run cabal install mypackage
I then run cabal repl and from REPL use import library
This allows to use newly added library from GHCi.
Is same possible using WinGhci ? Run a WinGhci REPL which has access to installed Cabal dependencies ?
You can use
:!to execute shell commands. I.e. run:!cabal install mypackagefrom within the WinGHCi repl. But then you can'timport mypackageuntil you restart WinGHCi. That's my experience at least. I'm interested in an answer as well...Running
:!cabal replinside WinGHCi repl is just not sensible (which answers the title to your question literally).