tar-package was: Re: modules of cabal-install

Christian Maeder Christian.Maeder at dfki.de
Mon Feb 23 06:03:00 EST 2009

Antoine Latter wrote:
> On Wed, Feb 18, 2009 at 5:20 AM, Christian Maeder
> <Christian.Maeder at dfki.de> wrote:
>> Hi,
>> I would like to reuse the module Distribution.Client.Tar
>> from the cabal-install package.
> There's a 'tar' package on Hackage:
> http://hackage.haskell.org/cgi-bin/hackage-scripts/package/tar

Thanks, for pointing this out. This package depends (in contrast to
cabal-install) on additional packages binary and unix-compat, which
isn't a real problem, but only seems unnecessary.
The tar package does also not support compression (via zlib), but maybe
this could/should be a separate package.
(There's also an older package "htar" with "compression".)

The sources in cabal-install seem most up-to-date (because of
cabal-install-0.6.2) and it would make sense to take this sources and
replace those in the tar-package.
Does the tar-package have any advantage (i.e. speed or portability) over

The module structure Codec.Archive.Tar looks a bit nicer, but
re-exporting the internal data structures seems unnecessary to me.

Where are the actual repositories with the most recent sources?

Cheers Christian

More information about the Libraries mailing list