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

Make length, etc. members? #91

Open
matthewleon opened this issue Feb 1, 2018 · 1 comment
Open

Make length, etc. members? #91

matthewleon opened this issue Feb 1, 2018 · 1 comment
Labels
status: blocked This issue or PR is blocked by something and cannot make progress. type: enhancement A new feature or addition.

Comments

@matthewleon
Copy link
Contributor

In Haskell's Data.Foldable, a lot of the utility functions are class members, allowing for instances to define more efficient implementations. What do people think of potentially doing this here?

@garyb
Copy link
Member

garyb commented Feb 1, 2018

Until we have default member implementations we don't want to do this, as implementing 20+ functions rather than 2 or 3 is a little unreasonable for instance-writers to be expected to deal with.

@JordanMartinez JordanMartinez added status: blocked This issue or PR is blocked by something and cannot make progress. type: enhancement A new feature or addition. labels Dec 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: blocked This issue or PR is blocked by something and cannot make progress. type: enhancement A new feature or addition.
Projects
None yet
Development

No branches or pull requests

3 participants