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

Add oneOf1 and oneOfMap1 to Data.Semigroup.Foldable #122

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kl0tl
Copy link
Member

@kl0tl kl0tl commented Oct 24, 2020

In purescript/purescript-control#63 we‘re considering to merge Plus into Alternative and then remove the illegal instance of Plus for Aff, Plus and Alternative for ParAff and add an Alt instance for Effect.

As noted by @natefaubion in purescript/purescript-control#63 (comment), this would prevent Control.Parallel.parOneOf and Control.Parallel.parOneOfMap to work with Aff, but we could rewrite those combinators in terms of oneOf1 and oneOfMap1.

@kl0tl kl0tl force-pushed the oneOf1-and-oneOfMap1 branch from 6e84c1d to 3c8fd65 Compare December 13, 2020 12:07
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