mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-27 10:11:52 -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
|
||||
pfail :: Parser a
|
||||
pfail = Parser $ ReadP.pfail
|
||||
pfail = empty
|
||||
|
||||
-- | Consume and return the next character. Fails if there is no input
|
||||
-- left.
|
||||
|
Reference in New Issue
Block a user