mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 03:20:21 -07:00
Update pfail to empty
This commit is contained in:
parent
f47ed83462
commit
66fb59e934
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user