Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reference for name "distributive" #51

Open
tomjaguarpaw opened this issue Aug 23, 2019 · 1 comment
Open

Reference for name "distributive" #51

tomjaguarpaw opened this issue Aug 23, 2019 · 1 comment

Comments

@tomjaguarpaw
Copy link
Contributor

Do you have a reference for the origin of the name "distributive"? The most relevant thing seems to be Linearly Distributive Functors but I can't see the connection.

@ekmett
Copy link
Owner

ekmett commented Mar 15, 2021

Vocabulary wise, distributive comes just from the notion of a distributive law for a functor. This isn't, fundamentally, a directed notion. If you want a term with a better pedigree "Corepresentable" (or "Representable" if you don't want to be anal retentive about distinguishing covariance from contravariance with Co) functor.

To date, this has been split off from Data.Functor.Rep in adjunctions, because the latter required more than just Haskell 98. To be honest that isn't much of a going concern, and a slight improvement in the notion of distribution is enough to allow better performance and canonical implementation of the concept of a representation, so eventually I'd like to ship distributive v1 which changes the internal representation of the class considerably. This will entail shipping new versions of just about everything though.

The 1 branch is the current work-in-progress in that direction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants