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

& shadows the same operator in Data.Function in base #24

Open
miniBill opened this issue Aug 18, 2019 · 2 comments
Open

& shadows the same operator in Data.Function in base #24

miniBill opened this issue Aug 18, 2019 · 2 comments

Comments

@miniBill
Copy link

& is usually reserved for a function of type a -> (a -> b) -> b, but superrecord's & shadows it

Also, because of #17, it's impossible right now (with the hackage version) to just re-export it with a different name.

I understand that changing that name would be a huge breaking change, how about deprecating it and using something else? I'd use &=, but I must admit I haven't surveyed the conventions enough to be confident in my suggestion

@sboosali
Copy link

yeah, and I always import (&) from base my custom prelude.

@miniBill
Copy link
Author

Indeed my issue stems from a custom Prelude exposing &, in which I'd like to try using superrecord

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