Skip to content

Conversation

JordanMartinez
Copy link
Contributor

See #64 and this comment

@@ -40,3 +40,5 @@ import Prim.TypeError (class Warn, Text)
-- |
-- | - Annihilation: `empty >>= f = empty`
class (Monad m, Alternative m, Warn (Text "'MonadZero' is deprecated, use 'Monad' and 'Alternative' constraints instead")) <= MonadZero m

instance monadZeroArray :: Warn (Text "`Array`'s 'MonadZero' is deprecated, use 'Monad' and 'Alternative' constraints instead")) => MonadZero Array
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This Warn constraint isn’t necessary.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've removed it in latest commits.

@kl0tl kl0tl merged commit 37cdccf into purescript:master Dec 6, 2020
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.

2 participants