Send Beginners mailing list submissions to
        beginners@haskell.org

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
        beginners-requ...@haskell.org

You can reach the person managing the list at
        beginners-ow...@haskell.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

   1.  some cabal file values (Christopher Howard)
   2. Re:  some cabal file values (Brent Yorgey)


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

Message: 1
Date: Mon, 20 Aug 2012 11:05:52 -0800
From: Christopher Howard <christopher.how...@frigidcode.com>
Subject: [Haskell-beginners] some cabal file values
To: Haskell Beginners <beginners@haskell.org>
Message-ID: <50328a90.9060...@frigidcode.com>
Content-Type: text/plain; charset="iso-8859-1"

I was getting reading to upload a module to hackage. I did that once
before a long time ago, so I reused and modified an old .cabal file.
Current there are two copied-in values that I am not sure about:

Cabal-version:       >=1.2
Build-depends:       base >= 4 && < 5

What should these values be set to?

code:
--------
$ cabal --version
cabal-install version 0.10.2
using version 1.10.2.0 of the Cabal library
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.4.1
--------

-- 
frigidcode.com
indicium.us

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: 
<http://www.haskell.org/pipermail/beginners/attachments/20120820/8247c116/attachment-0001.pgp>

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

Message: 2
Date: Mon, 20 Aug 2012 15:08:04 -0400
From: Brent Yorgey <byor...@seas.upenn.edu>
Subject: Re: [Haskell-beginners] some cabal file values
To: beginners@haskell.org
Message-ID: <20120820190804.ga16...@seas.upenn.edu>
Content-Type: text/plain; charset=us-ascii

On Mon, Aug 20, 2012 at 11:05:52AM -0800, Christopher Howard wrote:
> I was getting reading to upload a module to hackage. I did that once
> before a long time ago, so I reused and modified an old .cabal file.
> Current there are two copied-in values that I am not sure about:
> 
> Cabal-version:       >=1.2

It doesn't matter a whole lot unless you are using various extensions
to the .cabal format.  In fact cabal will complain at you if you use
features not supported by the version you specify.  However, at
present the suggested value is

  Cabal-version: >=1.10

> Build-depends:       base >= 4 && < 5

This should be fine.  The latest released version of base is 4.5, and
4.6 will be coming out with ghc 7.6.

-Brent



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

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners


End of Beginners Digest, Vol 50, Issue 22
*****************************************

Reply via email to