Remove unused reference.
parent
36f3831827
commit
883c33967c
|
@ -123,7 +123,7 @@ try p = Parser p'
|
||||||
sat :: forall e. (Char -> Boolean) -> Parser e Char
|
sat :: forall e. (Char -> Boolean) -> Parser e Char
|
||||||
sat p = do pos <- current_position
|
sat p = do pos <- current_position
|
||||||
x <- item
|
x <- item
|
||||||
if p x then pure x else Parser \input -> failure pos
|
if p x then pure x else Parser \_ -> failure pos
|
||||||
|
|
||||||
digit :: forall e. Parser e Char
|
digit :: forall e. Parser e Char
|
||||||
digit = sat isDigit
|
digit = sat isDigit
|
||||||
|
|
Loading…
Reference in New Issue