Skip to content

Maybe pr #209

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Maybe pr #209

wants to merge 2 commits into from

Conversation

jcranch
Copy link

@jcranch jcranch commented Jun 2, 2025

This adds an function realising an important property of These. I've found the function useful in practice: for example, it allows one to make data structures containing These via mapMaybe. The reverse isomorphism is not really required, since it has coordinates justHere and justThere, which already exist.

I'd be happy putting it in Data.These.Combinators instead; to me it seems just as comfortable in the main file; the division is not very clear-cut.

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

Successfully merging this pull request may close these issues.

1 participant