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: Dependency guessing for cabal init

2011-10-21 Thread Jason Dagit
On Fri, Oct 21, 2011 at 1:29 PM, Brent Yorgey byor...@seas.upenn.edu wrote: 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

Cabal plugins

2011-10-21 Thread Antoine Latter
On Fri, Oct 21, 2011 at 3:49 PM, Jason Dagit dag...@gmail.com wrote: On Fri, Oct 21, 2011 at 1:29 PM, Brent Yorgey byor...@seas.upenn.edu wrote: 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