making cabal-install into a library?

Jens Petersen juhpetersen at
Wed Jan 21 01:12:06 UTC 2015

Sorry Carl I missed your reply...

On 3 January 2015 at 02:03, Carl Eyeinsky <eyeinsky9 at> wrote:

> Can you explain what you mean, or how would you use it?
> E.g do you mean having the cabal commands as functions, into which you can
> pass a directory structure (with file contents included) as data types?
Pretty much yes.

Since I believe the code is well written, my feeling is it might not be a
huge amount of work though I haven't had time to look into the details.
The hardest part might be working out the name of the library unless
cabal-install becomes a BinLib package. ;o)

I think there are quite a few packages that make use of cabal-install and
so yes better and safer to have a library then having always to call out to
a subprocess...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the cabal-devel mailing list