[Haskell-cafe] How to know the build dependencies?

Gwern Branwen gwern0 at gmail.com
Sun Jun 14 10:12:51 EDT 2009


-----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?

- --
gwern
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEAREKAAYFAko1BWEACgkQvpDo5Pfl1oKvigCeO7ABRVr/9+kT62dIFpo0k5+f
y/AAnR6wLaDpX5/lZPqQzB/Wb4kuj8i9
=L2iA
-----END PGP SIGNATURE-----


More information about the Haskell-Cafe mailing list