Skip to content

Commit eeb746e

Browse files
committed
Remove deprecated MonadZero constraint.
1 parent 0cfe422 commit eeb746e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ Other improvements:
3030
- Documentation. (#140 by @jamesdbrock)
3131
- Documentation. (#143 by @jamesdbrock)
3232
- Documentation. (#142 by @jamesdbrock)
33+
- Remove deprecated `MonadZero` constraint. (#142 by @jamesdbrock)
3334

3435
## [v8.1.0](https://github.com/purescript-contrib/purescript-parsing/releases/tag/v8.1.0) - 2022-01-10
3536

src/Text/Parsing/Parser.purs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import Control.Monad.Except (class MonadError, ExceptT(..), mapExceptT, runExcep
2626
import Control.Monad.Rec.Class (class MonadRec)
2727
import Control.Monad.State (class MonadState, StateT(..), evalStateT, gets, mapStateT, modify_, runStateT)
2828
import Control.Monad.Trans.Class (class MonadTrans, lift)
29-
import Control.MonadPlus (class Alternative, class MonadPlus, class MonadZero, class Plus)
29+
import Control.MonadPlus (class Alternative, class MonadPlus, class Plus)
3030
import Data.Either (Either(..))
3131
import Data.Identity (Identity)
3232
import Data.Newtype (class Newtype, over, unwrap)
@@ -161,8 +161,6 @@ instance plusParserT :: Monad m => Plus (ParserT s m) where
161161

162162
instance alternativeParserT :: Monad m => Alternative (ParserT s m)
163163

164-
instance monadZeroParserT :: Monad m => MonadZero (ParserT s m)
165-
166164
instance monadPlusParserT :: Monad m => MonadPlus (ParserT s m)
167165

168166
instance monadTransParserT :: MonadTrans (ParserT s) where

0 commit comments

Comments
 (0)