Skip to content

Commit 9b13ce9

Browse files
committed
Remove unnecessary/overlapping Lazy instance
1 parent 2cdfbd0 commit 9b13ce9

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

docs/Module.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@
3131

3232
instance lazy1ParserT :: Lazy1 (ParserT s m)
3333

34-
instance lazyParserT :: Lazy (ParserT s m a)
35-
3634
instance monadParserT :: (Monad m) => Monad (ParserT s m)
3735

3836
instance monadPlusParserT :: (Monad m) => MonadPlus (ParserT s m)

src/Text/Parsing/Parser.purs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,6 @@ instance monadStateParserT :: (Monad m) => MonadState s (ParserT s m) where
8484
return $ case f s of
8585
Tuple a s' -> { input: s', consumed: false, result: Right a }
8686

87-
instance lazyParserT :: Lazy (ParserT s m a) where
88-
defer f = ParserT $ \s -> unParserT (f unit) s
89-
9087
instance lazy1ParserT :: Lazy1 (ParserT s m) where
9188
defer1 f = ParserT $ \s -> unParserT (f unit) s
9289

0 commit comments

Comments
 (0)