Skip to content

Commit e12c9d1

Browse files
committed
Remove commented code
1 parent e0ba8a5 commit e12c9d1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Text/Parsing/Parser/Token.purs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,6 @@ token tokpos = do
5757
, input: tail
5858
}
5959
pure head
60-
-- ParserT $ \(PState { input: toks, position: pos }) ->
61-
-- pure $ case toks of
62-
-- Cons x xs -> { consumed: true, input: xs, result: Right x, position: tokpos x }
63-
-- _ -> parseFailed toks pos "expected token, met EOF"
6460

6561
-- | Create a parser which matches any token satisfying the predicate.
6662
when :: forall m a. Monad m => (a -> Position) -> (a -> Boolean) -> ParserT (List a) m a

0 commit comments

Comments
 (0)