
On 29 maj 2008, at 18.13, Don Stewart wrote:
Hackage and Cabal are nice, but a command line tool for automatically searching Hackage and installing Hackage packages (like the cpan program, or easy_install) would be nice. Unless I haven't done my homework and this tool exists...
This tool exists. It is called 'cabal-install'. To try out one of today's new packages:
$ cabal update $ cabal install category-extras
Another nice feature: Say you want to hack on the darcs version of a project, but you need to install the dependencies. If the project is Cabalised you can build and install the darcs version as well as all dependencies by calling 'cabal install' with no arguments inside the project directory. $ darcs get <project> $ cd <project> $ cabal install / Thomas -- Push the envelope. Watch it bend.