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

Name filter clashes with the one from the Prelude / Data.List #4

Closed
Shimuuar opened this issue May 21, 2011 · 2 comments
Closed

Name filter clashes with the one from the Prelude / Data.List #4

Shimuuar opened this issue May 21, 2011 · 2 comments
Assignees

Comments

@Shimuuar
Copy link
Contributor

Module Reactive.Banana exports filter which clashes with filter from Prelude. This forces user either to import r.banana qualified no other function clashes or hide filter from Prelude which is not convenient. Maybe it's worth to rename filter to filterE (like accumE)?

@HeinrichApfelmus
Copy link
Owner

Yeah, I know. I'm undecided on this one: having to qualify imports is an annoyance, but Data.Map exemplifies that two data types with the same function should get the same function name. I hope to collect a few more combinators first and then revisit this problem.

@HeinrichApfelmus
Copy link
Owner

Oh well, I'm switching to filterE for the time being. Maybe I'll revisit this in the future.

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