[Haskell-cafe] How to know the build dependencies?
Deniz Dogan
deniz.a.m.dogan at gmail.com
Sun Jun 14 10:14:27 EDT 2009
2009/6/14 Gwern Branwen <gwern0 at gmail.com>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> On Sun, Jun 14, 2009 at 6:05 AM, Deniz Dogan wrote:
>> Someone really ought to write a tool for this...
>
> Well, it's an issue of time. Just building and adding the deps is fast
> and straightforward. A tool I'd need to know about, have installed,
> and remember to use in the middle of a Cabalizing session. The people
> who most need such a tool are those who are least likely to use it.
> And given the overhead, it's unclear that it would actually save time.
> Sometimes, somethings aren't worth automating.
>
> Now, if someone were to create such a tool and integrate it into
> 'mkcabal', then it might make sense. You could create the basic .cabal
> with the build-depends filled in. But as a separate tool it's too
> small a task to handle. Even memorizing the -show-iface or
> - -ddump-types options may not be worthwhile - how often does one create
> Cabal packages from scratch?
I'm sorry, I was not aware of those flags when I wrote my message. You're right.
--
Deniz Dogan
More information about the Haskell-Cafe
mailing list