mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-29 19:21:51 -07:00
Update pfail to empty
This commit is contained in:
@@ -139,7 +139,7 @@ runParser (Parser p) = fmap fst . listToMaybe . ReadP.readP_to_S p
|
|||||||
|
|
||||||
-- | Always fails
|
-- | Always fails
|
||||||
pfail :: Parser a
|
pfail :: Parser a
|
||||||
pfail = Parser $ ReadP.pfail
|
pfail = empty
|
||||||
|
|
||||||
-- | Consume and return the next character. Fails if there is no input
|
-- | Consume and return the next character. Fails if there is no input
|
||||||
-- left.
|
-- left.
|
||||||
|
Reference in New Issue
Block a user