mirror of
https://github.com/mrkkrp/megaparsec.git
synced 2024-11-23 10:23:39 +03:00
Drop a redundant superclass of ‘MonadParsec’
This commit is contained in:
parent
b81b6f4385
commit
31b3fabd2a
@ -25,7 +25,6 @@ module Text.Megaparsec.Class
|
||||
( MonadParsec (..) )
|
||||
where
|
||||
|
||||
import Control.Applicative
|
||||
import Control.Monad
|
||||
import Control.Monad.Identity
|
||||
import Control.Monad.Trans
|
||||
@ -52,8 +51,7 @@ import Control.Monad.Trans.Identity
|
||||
-- taken advantage of as much as possible if your aim is a fast parser:
|
||||
-- 'tokens', 'takeWhileP', 'takeWhile1P', and 'takeP'.
|
||||
|
||||
class (Stream s, Alternative m, MonadPlus m)
|
||||
=> MonadParsec e s m | m -> e s where
|
||||
class (Stream s, MonadPlus m) => MonadParsec e s m | m -> e s where
|
||||
|
||||
-- | The most general way to stop parsing and report a trivial
|
||||
-- 'ParseError'.
|
||||
|
Loading…
Reference in New Issue
Block a user