[Haskell-beginners] Trying to install "Craft3e" from Hackage using stack
Simon Jakobi
simon.jakobi at googlemail.com
Sat Apr 16 14:15:20 UTC 2016
> 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
More information about the Beginners
mailing list