[Haskell-cafe] Re: HackageDB is not for ... ?

Maciej Piechotka uzytkownik2 at gmail.com
Mon Jan 4 20:51:09 EST 2010


On Mon, 2010-01-04 at 17:26 -0800, Andrey Sisoyev wrote:
> Hello everybody!
> 

Hello

> -------------------------------------
> Consider cases:
> (1)
> I don't want to publish package A, because I doubt anyone will find it
> useful.
> But I develop independent packages B and C, that will be usefull for the
> community, and want to publish them on Hackage, but they require package A!
> 
> [Solution] Publish package A, but make it maximum general and complete in
> itself.
> 
> (2) 
> I don't want to publish package A, because it's tiny. Well imagine something
> same popular and useful, like Ord class. 10 lines of code. But I don't want
> to repeat these lines in every other package.
> 
> [Solution] Same as for (1) I guess.
> 

Find other package and send a patch (like category-extras) if it
applies?

> 
> [Solution B] Do my own version control and add same pieces to every package
> that use Nameable. Don't like this solution. May be I should start using
> other repository systems like github or darcs, and then this solution will
> seem more natural to me?..

[Solution C] Create package. Don't publish it but install locally.

I'm not proposing the Solution C as I'm not host of hackage. But it is
also possible.

Regards




More information about the Haskell-Cafe mailing list