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

RowListIntersection? #31

Open
justinwoo opened this issue Feb 2, 2018 · 2 comments
Open

RowListIntersection? #31

justinwoo opened this issue Feb 2, 2018 · 2 comments
Labels
type: enhancement A new feature or addition.

Comments

@justinwoo
Copy link
Contributor

Small utility I wrote for some demos that I think could maybe be useful for others, like when you want to figure out what fields are unique from another row that isn't a subtype.

Should I PR this? Are there some problems I've missed here? https://github.com/justinwoo/record-diff/blob/f326d8d1655b8d4ebb67c8f794a5b627e71539f6/src/Main.purs#L18

@LiamGoodacre
Copy link
Member

This implicitly depends on a sorted RowList, and seems to expect no duplicate keys. So I would be hesitant to call it RowListIntersection. But it sounds interesting.

@justinwoo
Copy link
Contributor Author

Definitely needs a name with less false promises 😄

@JordanMartinez JordanMartinez added the type: enhancement A new feature or addition. label Dec 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A new feature or addition.
Projects
None yet
Development

No branches or pull requests

3 participants