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

Implement functions for Option\Either #96

Closed
Odomontois opened this issue Dec 28, 2019 · 0 comments · Fixed by #97
Closed

Implement functions for Option\Either #96

Odomontois opened this issue Dec 28, 2019 · 0 comments · Fixed by #97
Labels
good first issue Good for newcomers

Comments

@Odomontois
Copy link
Member

Odomontois commented Dec 28, 2019

We need something like

def some[A]: Subset[Option[A], A]
def none[A]: Subset[Option[A], Unit]
def left[A, B]: Subset[Either[A, B], A]
def right[A, B]: Subset[Either[A, B], B]

in the tofu.optics.functions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant