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

Toby Miller toby at miller.ms
Sun Jun 14 12:49:36 EDT 2009


On Jun 14, 2009, at 6:05 AM, Deniz Dogan wrote:

> 2009/6/14 Gwern Branwen <gwern0 at gmail.com>:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA512
>>
>> On Sat, Jun 13, 2009 at 10:22 PM, Magicloud Magiclouds wrote:
>>> Hi,
>>>  I am learning to use cabal for my code.
>>>  Just when I start, I met a question, is there an easy way to find
>>> out what packages my code depends?
>>>
>>> Thanks.
>>
>> Not really. The easiest way is to just build your code and add every
>> package Cabal complains about being hid into your build-depends.
>> (Usually this won't take more than a minute or 3 if you're toggling
>> between a terminal and an editor.)
>>
>> - --
>> gwern
>
> Someone really ought to write a tool for this...



	
Visualising the Haskell Universe « Control.Monad.Writer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090614/368223c5/attachment.html


More information about the Haskell-Cafe mailing list