Send Beginners mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."
Today's Topics:
1. Re: Trying to install "Craft3e" from Hackage using stack
(Simon Jakobi)
2. Re: Trying to install "Craft3e" from Hackage using stack
(Albin Otterh?ll)
----------------------------------------------------------------------
Message: 1
Date: Sat, 16 Apr 2016 16:15:20 +0200
From: Simon Jakobi <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>,
gmane <[email protected]>
Subject: Re: [Haskell-beginners] Trying to install "Craft3e" from
Hackage using stack
Message-ID:
<CAGtp2SioW_KfPaJjuFXy=y0yzhkdsvoz4yrnyepucuryyd-...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
> 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
------------------------------
Message: 2
Date: Sat, 16 Apr 2016 19:00:22 +0200
From: Albin Otterh?ll <[email protected]>
To: [email protected]
Subject: Re: [Haskell-beginners] Trying to install "Craft3e" from
Hackage using stack
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
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
> [email protected]
> 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
------------------------------
Subject: Digest Footer
_______________________________________________
Beginners mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
------------------------------
End of Beginners Digest, Vol 94, Issue 14
*****************************************