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.  Is a ghc package the same as a cabal package? (Philippe Sismondi)
   2. Re:  Is a ghc package the same as a cabal package? (Kim-Ee Yeoh)
   3. Re:  Is a ghc package the same as a cabal package?
      (Brandon Allbery)
   4. Re:  Is a ghc package the same as a cabal package?
      (Philippe Sismondi)
   5. Re:  Is a ghc package the same as a cabal package?
      (Philippe Sismondi)


----------------------------------------------------------------------

Message: 1
Date: Tue, 18 Feb 2014 11:26:23 -0500
From: Philippe Sismondi <[email protected]>
To: The to Haskell Haskell-Beginners Mailing List - Discussion of
        primarily beginner-level topics related <[email protected]>
Subject: [Haskell-beginners] Is a ghc package the same as a cabal
        package?
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

Is a ghc package the same as a cabal package? As far as I can tell they are 
not. I mean "package" as defined by the documentation for each.

In the ghc documentation it states that "A package specification is a Haskell 
record". A Cabal package seems to be a collection of stuff including the .cabal 
file etc.

Finally, does Hackage use the term "package" differently again?

Rant: package and/or build systems are the bane of my existence in any 
non-commercial language that I use. Sigh. I have been using Cabal and 
cabal-install naively (read "blindly") for long enough; time to come to grips 
with it.

Thanks, if anyone has time to help.

- P -

------------------------------

Message: 2
Date: Wed, 19 Feb 2014 00:35:27 +0700
From: Kim-Ee Yeoh <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] Is a ghc package the same as a cabal
        package?
Message-ID:
        <capy+zdqq6lcxvfxozzs+uhjbfxgpuau5gxf72t8nnaxw_xc...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

On Tue, Feb 18, 2014 at 11:26 PM, Philippe Sismondi <[email protected]>wrote:

> Rant: package and/or build systems are the bane of my existence in any
> non-commercial language that I use. Sigh. I have been using Cabal and
> cabal-install naively (read "blindly") for long enough; time to come to
> grips with it.


You are not alone.

It's true that cabal works smoothly for lots of users lots of the time. But
when it doesn't, it's murder.

-- Kim-Ee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://www.haskell.org/pipermail/beginners/attachments/20140219/1a47e235/attachment-0001.html>

------------------------------

Message: 3
Date: Tue, 18 Feb 2014 12:46:54 -0500
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] Is a ghc package the same as a cabal
        package?
Message-ID:
        <cakfcl4u35nqzcno8sqpigeife4bh4rvsz3jx3uzv5vbfcq5...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

On Tue, Feb 18, 2014 at 11:26 AM, Philippe Sismondi <[email protected]>wrote:

> Is a ghc package the same as a cabal package? As far as I can tell they
> are not. I mean "package" as defined by the documentation for each.
>

Start here: http://www.vex.net/~trebla/haskell/sicp.xhtml

Briefly: a cabal package is a collection of source code, metadata, and
build instructions to create a ghc package. Hackage is a collection of
cabal packages.

-- 
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/20140218/900e21d3/attachment-0001.html>

------------------------------

Message: 4
Date: Tue, 18 Feb 2014 12:56:20 -0500
From: Philippe Sismondi <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] Is a ghc package the same as a cabal
        package?
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"

Thanks, all. That helps.

The ambiguous use of the term "package" was tripping me up. Kind of like when I 
didn't know that "cabal" invokes "cabal-install", and (more recently) that I 
invoke "cabal-repl" by typing "cabal repl".

Funny that understanding the problems created by ambiguity in source code does 
not seem to prevent us as a community from f**king up our use of natural 
language, naming, documentation etc.

Back to work.

Best,

- P -

On 2014-02-18, at 12:46 PM, Brandon Allbery <[email protected]> wrote:

> On Tue, Feb 18, 2014 at 11:26 AM, Philippe Sismondi <[email protected]> 
> wrote:
> Is a ghc package the same as a cabal package? As far as I can tell they are 
> not. I mean "package" as defined by the documentation for each.
> 
> Start here: http://www.vex.net/~trebla/haskell/sicp.xhtml
> 
> Briefly: a cabal package is a collection of source code, metadata, and build 
> instructions to create a ghc package. Hackage is a collection of cabal 
> packages.
> 
> -- 
> brandon s allbery kf8nh                               sine nomine associates
> [email protected]                                  [email protected]
> unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/beginners

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://www.haskell.org/pipermail/beginners/attachments/20140218/904f42f0/attachment-0001.html>

------------------------------

Message: 5
Date: Tue, 18 Feb 2014 13:32:21 -0500
From: Philippe Sismondi <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] Is a ghc package the same as a cabal
        package?
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

Actually - feeling a bit guilty here.

I just found the passage in the Cabal documentation that treats the issue of 
ghc versus cabal packages.

That's probably not the last time I'll post before the RTFM step, but my 
apologies anyway.

- P -


On 2014-02-18, at 11:26 AM, Philippe Sismondi <[email protected]> wrote:

> Is a ghc package the same as a cabal package? As far as I can tell they are 
> not. I mean "package" as defined by the documentation for each.
> 
> In the ghc documentation it states that "A package specification is a Haskell 
> record". A Cabal package seems to be a collection of stuff including the 
> .cabal file etc.
> 
> Finally, does Hackage use the term "package" differently again?
> 
> Rant: package and/or build systems are the bane of my existence in any 
> non-commercial language that I use. Sigh. I have been using Cabal and 
> cabal-install naively (read "blindly") for long enough; time to come to grips 
> with it.
> 
> Thanks, if anyone has time to help.
> 
> - P -
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/beginners



------------------------------

Subject: Digest Footer

_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners


------------------------------

End of Beginners Digest, Vol 68, Issue 16
*****************************************

Reply via email to