
On 2016-04-16 16:15, Simon Jakobi wrote:
I don't know if it's possible with the method you described, but I need to be able to import some files into GHCi. They contain function definitions that I have to be able to use in GHCi.
Sorry, I should have taken a look at the package description before writing a response. That should work:
$ stack unpack Craft3e $ cd Craft3e-0.1.0.10 $ stack init $ stack build
You can then use stack ghci (stack's wrapper around ghci) and
λ> import Chapter1 -- for example
Cheers, Simon _______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
Thank, it works! For ev. readers with the same problem: Do note that you have to use `stack exec ghci [file]` for it to work. Regards, Albin