[Haskell-cafe] Adding packages from within ghci session
ollie at ocharles.org.uk
Fri Jan 19 15:16:17 UTC 2018
I think you can do :"set -package foo".
Does that do what you want?
On 19 Jan 2018 1:49 pm, "Simon Hafner" <hafnersimon at gmail.com> wrote:
> I've been exploring some code via ghci, and I've found myself in this loop:
> - write some code
> - figure out I need another package (e.g. mtl for runReaderT)
> - add package to cabal specification
> - reload stack ghci
> - Ctrl+R all the statements to replay the session so far
> Is there a way to speed up the loop, e.g. via loading packages
> directly from ghci or saving/replaying a session?
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe