Polymorphism in the Prelude

Greg Weber greg at gregweber.info
Tue Jun 17 07:59:08 UTC 2014


On Mon, Jun 16, 2014 at 10:33 AM, Edward Kmett <ekmett at gmail.com> wrote:

> Based on raw download stats:
>
> basic-prelude has probably received the most traction. It has ~8k
> downloads.
>
> classy-prelude decays to ~4k downloads.
>
> general-prelude ~180.
>
> The other two I mentioned have had ~100 each.
>
> By way of comparison something like, say, 'profunctors' has ~50k downloads.
>

That is interesting, thank you for sharing! Are you using direct downlaods
of profunctor? because profunctor is designed to be a library dependency
(lens depends on it as do 20+ other packages), whereas with classy-prelude
users are advised to not use it as a library dependency and only use it for
their applications. There is only really one library with usage that depend
on classy-prelude, classy-prelude-conduit, and only classy-prelude-yesod
depends on that, and nothing depends on that, they are all designed for
application writers, not as library dependencies.

Does it makes sense to make a direct comparison of total downloads for
these 2 different use cases?


> That said, I spend an awful lot of time talking to people at conventions
> and hackathons, and my response was mostly anecdotal based on responses
> I've received as I've asked around to find out what people want in the
> Prelude going forward.
>
> -Edward
>
>
> On Mon, Jun 16, 2014 at 12:58 PM, Greg Weber <greg at gregweber.info> wrote:
>
>> How do you know if alternate prelude are gaining traction? Libraries
>> authors are always going to hesitate to include another package, but they
>> are really for application developers. Are you using download statistics?
>>
>>
>> On Mon, Jun 16, 2014 at 7:30 AM, Edward Kmett <ekmett at gmail.com> wrote:
>>
>>> Note: we already have several of these alternate Preludes out there,
>>> which have gained little traction, largely because many users aren't
>>> willing to incur another package dependency for convenience.
>>>
>>> prelude-prime
>>> classy-prelude
>>> fugue
>>>
>>> -Edward
>>>
>>> > On Jun 16, 2014, at 9:46 AM, Richard Eisenberg <eir at cis.upenn.edu>
>>> wrote:
>>> >
>>> >  I would wager that if these Poly modules were out in the wild today,
>>> we might all grumble at them, but I don't know if there would be a movement
>>> to change the Prelude.
>>> >
>>> > Richard
>>> > _______________________________________________
>>> > Libraries mailing list
>>> > Libraries at haskell.org
>>> > http://www.haskell.org/mailman/listinfo/libraries
>>> _______________________________________________
>>> Libraries mailing list
>>> Libraries at haskell.org
>>> http://www.haskell.org/mailman/listinfo/libraries
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20140617/f5eecdd0/attachment-0001.html>


More information about the Libraries mailing list