Send Beginners mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://www.haskell.org/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. Sandbox Confusion (Britt Anderson)
2. Re: Sandbox Confusion (Brandon Allbery)
----------------------------------------------------------------------
Message: 1
Date: Fri, 15 Aug 2014 00:13:14 +0000
From: Britt Anderson <[email protected]>
To: "[email protected]" <[email protected]>
Subject: [Haskell-beginners] Sandbox Confusion
Message-ID: <4B6B88CCBD52B845B95085968EEF0BF174ABF27C@connmbx>
Content-Type: text/plain; charset="us-ascii"
The cabal sandbox is confusing me. Specifically, trying to install hakyll in a
sandbox. I begin with:
cabal sandbox init
cabal install -j hakyll
and all goes well,
then to run the shell script as specified in the tutorial here
(http://jaspervdj.be/hakyll/tutorials/01-installation.html):
cabal exec hakyll-init my-site
and this works, and I
cd ./my-site
but the next step specified in the tutorial I can't figure out how to work.
It is:
ghc --make -threaded site.hs
It fails because it cannot find the Hakyll module to import.
I am hoping to learn what the proper command would be in a sandbox environment,
and hopefully that will help me understand this sanboxing a bit better. It
seems that haskell is developing faster than my beginners knowledge, and I am
losing ground. I used to at least be able to install things.
------------------------------
Message: 2
Date: Thu, 14 Aug 2014 20:23:14 -0400
From: Brandon Allbery <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] Sandbox Confusion
Message-ID:
<cakfcl4v0cntkl6dvxe0yh2cgf6jweehauqk2hev3hctz26j...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
On Thu, Aug 14, 2014 at 8:13 PM, Britt Anderson <[email protected]> wrote:
> cabal exec hakyll-init my-site
> and this works, and I
> cd ./my-site
> but the next step specified in the tutorial I can't figure out how to work.
> It is:
> ghc --make -threaded site.hs
>
> It fails because it cannot find the Hakyll module to import.
>
> I am hoping to learn what the proper command would be in a sandbox
> environment, and
You already used it once: put `cabal exec` in front. (Also, you no longer
need `--make` in current versions of ghc.)
--
brandon s allbery kf8nh sine nomine associates
[email protected] [email protected]
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20140814/b8db72b9/attachment-0001.html>
------------------------------
Subject: Digest Footer
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
------------------------------
End of Beginners Digest, Vol 74, Issue 10
*****************************************