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

Proposal: Disallow RecordWildCards #12

Open
L-as opened this issue Jan 10, 2022 · 2 comments
Open

Proposal: Disallow RecordWildCards #12

L-as opened this issue Jan 10, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@L-as
Copy link

L-as commented Jan 10, 2022

This makes it quite hard to understand code as it's not clear where variables come from.

@kozross
Copy link
Member

kozross commented Jan 10, 2022

I am very much in favour of this! @Benjmhart - thoughts?

@kozross kozross added the enhancement New feature or request label Jan 10, 2022
@uhbif19
Copy link

uhbif19 commented Feb 26, 2023

I think that RecordWildCards could be used in cases then a bunch of fields are copied from one datatype to another.

We employ that in our guide: https://github.com/mlabs-haskell/hydra-auction/blob/master/doc/contributing.md#other-guidelines

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

No branches or pull requests

3 participants