[Haskell-cafe] The Lisp Curse
aditya.siram at gmail.com
Thu May 19 23:48:56 CEST 2011
I wonder if it would be useful to be able to download and use only necessary
modules from Hackage. This way if someone writes, say a superior XML parsing
API, and someone else has better generating API, the user can pull just
those modules , write the glue and have the best of both worlds.
On the upside this would:
1. Make for a smaller local cabal repository.
2. Mitigate the problem of having to compile a package that has
functionality you don't need. MissingH  is a good example.
3. Allow you to continue working even if one of the modules doesn't compile.
I recently ran into this with liboleg  where I only wanted Control.CCCXe,
but couldn't "cabal install" it on my system because one of the other
modules failed to compile.
On Thu, May 19, 2011 at 4:30 PM, Julian Porter
<julian.porter at porternet.org>wrote:
> > ultimately the ideal is to end up with one library that solves the
> problem well, which everybody can use.
> Nonsense. One library that everyone can use with either end up being so
> small in functionality that it's actually useless, or so general that either
> it requires tons and tons of boilerplate just to use it at all, or it's
> really about eight libraries rolled into one and so impossible to find your
> way around. Whichever, it's not good. The sweet spot is at the point of
> maximum tension between generality and simplicity.
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe