purescript-foldable-traversable
purescript-foldable-traversable copied to clipboard
Add oneOf1 and oneOfMap1 to Data.Semigroup.Foldable
In https://github.com/purescript/purescript-control/issues/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 https://github.com/purescript/purescript-control/issues/63#issuecomment-709658435, 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.