Skip to content

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