Re: Code style guide?

2013-03-23 Thread Brent Yorgey
On Thu, Mar 21, 2013 at 01:21:11PM -0700, Johan Tibell wrote: On Thu, Mar 21, 2013 at 12:48 PM, Ben Millwood hask...@benmachine.co.ukwrote: I'm in favour of the first style, and if there's no objections, the patch I'm currently writing will be split into two commits, the first of which

Re: deprecating

2012-10-25 Thread Brent Yorgey
On Fri, Oct 19, 2012 at 09:38:44AM -0700, Johan Tibell wrote: Hi Simon, On Fri, Oct 19, 2012 at 4:49 AM, Simon Peyton-Jones simo...@microsoft.com wrote: As discussed in Trac #6032 I am deprecating Rank2Types PolymorphicComponents in favour of the single flag

Re: Gearing up for a cabal-install-1.16.0 release

2012-09-27 Thread Brent Yorgey
On Thu, Sep 27, 2012 at 04:44:20PM +0200, Johan Tibell wrote: If there are any commits on the cabal-1.16 branch that you think should definitely be in cabal-install-1.16.0, please let me know and I will try to cherry-pick them. Here's the list of commits:

cabal init patches

2011-10-24 Thread Brent Yorgey
for repository http://darcs.haskell.org/cabal: Fri Oct 14 16:21:34 EDT 2011 Brent Yorgey byor...@cis.upenn.edu * init: improve prompt: 'homepage' field is not for repos. Fri Oct 14 16:22:10 EDT 2011 Brent Yorgey byor...@cis.upenn.edu * init: improve prompt: enclose y/n in parens Fri Oct 14 16

Dependency guessing for cabal init

2011-10-21 Thread Brent Yorgey
Hi everyone, I'm working on some improvements to 'cabal init', the biggest of which is looking at imports in source files to guess an initial list of dependencies to populate the 'Build-depends:' field. I wanted to get some feedback on a design decision: what to do when we find multiple packages

Re: infelicitous (incorrect?) ordering of flags passed to GHC

2010-01-12 Thread Brent Yorgey
On Mon, Jan 11, 2010 at 10:15:51AM -0500, Brent Yorgey wrote: On Sun, Jan 10, 2010 at 06:27:51PM +, Duncan Coutts wrote: On Thu, 2010-01-07 at 15:18 -0500, Brent Yorgey wrote: And are there any workarounds in the meantime? Have you tried listing the fields in the other order

Re: infelicitous (incorrect?) ordering of flags passed to GHC

2010-01-11 Thread Brent Yorgey
On Sun, Jan 10, 2010 at 06:27:51PM +, Duncan Coutts wrote: On Thu, 2010-01-07 at 15:18 -0500, Brent Yorgey wrote: ghc-options: -Wall if impl(ghc = 6.12.1) ghc-options: -fno-warn-unused-do-bind I would expect the arguments -Wall -fno-warn-unused

infelicitous (incorrect?) ordering of flags passed to GHC

2010-01-07 Thread Brent Yorgey
Hi all, In trying to update xmonad to build without warnings under GHC 6.12.1, I spent a while struggling to turn off some particular warnings with apparently no effect. Eventually I boiled it down to the following, which seems like a problem---or at least, an infelicity---with Cabal. Suppose we

Re: Template Haskell in cabal-install

2009-12-21 Thread Brent Yorgey
On Mon, Dec 21, 2009 at 02:49:10PM +, Duncan Coutts wrote: On Mon, 2009-12-21 at 07:30 +0100, Mikhail Glushenkov wrote: Hi, Would it be worthwile to reimplement Distribution/Client/Init/Licenses.hs using a TH macro that parses and loads license files at compile time? IIUC,

Re: 'cabal upload' and errors

2009-10-12 Thread Brent Yorgey
I ran into this as well, once upon a time. But it looks like it's fixed now, see http://hackage.haskell.org/trac/hackage/ticket/549 which says that this will be fixed in the next release! =) -Brent On Mon, Oct 12, 2009 at 10:31:10AM -0700, Conal Elliott wrote: It would be great if 'cabal

Small Cabal documentation patch: describe syntax of 'compiler' fields in .cabal files

2009-06-10 Thread Brent Yorgey
Hi all, When working on a .cabal file recently I couldn't find anything in the documentation about the proper syntax for the 'tested-with' field, so here's a patch to add a description of it to the documentation. -Brent Wed Jun 10 15:45:50 EDT 2009 Brent Yorgey byor...@cis.upenn.edu

darcs patch: reflow paragraphs when displaying synopsis/description in output of 'cabal list'

2008-03-05 Thread Brent Yorgey
Wed Mar 5 14:34:07 EST 2008 Brent Yorgey [EMAIL PROTECTED] * Hackage/List.hs: reflow paragraphs when displaying synopsis/description. ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel

Re: darcs patch: reflow paragraphs when displaying synopsis/description in output of 'cabal list'

2008-03-05 Thread Brent Yorgey
oops! With patch actually attached this time. =) On Wed, Mar 5, 2008 at 2:43 PM, Brent Yorgey [EMAIL PROTECTED] wrote: Wed Mar 5 14:34:07 EST 2008 Brent Yorgey [EMAIL PROTECTED] * Hackage/List.hs: reflow paragraphs when displaying synopsis/description. cabal-list-reflow

darcs patch: cabal-install: port showPackageInfo to pretty-printing combinators, improve display of packages with multi-line synopses

2008-03-04 Thread Brent Yorgey
Tue Mar 4 16:17:07 EST 2008 Brent Yorgey [EMAIL PROTECTED] * Hackage/List.hs: port showPackageInfo to pretty-printing combinators, improve display of packages with multi-line synopses pretty-print-showPackageInfo.dpatch Description: Binary data

Re: darcs patch: generate a warning for missing license file (#180)

2008-01-27 Thread Brent Yorgey
On Jan 27, 2008 7:44 AM, Duncan Coutts [EMAIL PROTECTED] wrote: On Sat, 2008-01-26 at 22:17 -0500, Brent Yorgey wrote: Hi all, Here's another patch, this one resolves issue #180. If a license file is declared but missing, a warning will now be generated during the configure phase

darcs patch: better error reporting for undefined flags (ticket #164)

2008-01-26 Thread Brent Yorgey
to speak. -Brent On Jan 25, 2008 4:54 PM, Brent Yorgey [EMAIL PROTECTED] wrote: Hi cabal folks! In an effort to help out with Cabal stuff, I'm going to start by taking a crack at ticket #164 on the trac (bad error message with undefined flags). Just thought I would claim it as mine so no one else

darcs patch: generate a warning for missing license file (#180)

2008-01-26 Thread Brent Yorgey
Hi all, Here's another patch, this one resolves issue #180. If a license file is declared but missing, a warning will now be generated during the configure phase. -Brent warn-missing-license-file.dpatch Description: Binary data ___ cabal-devel