Commit a53c580f authored by Ben Gamari's avatar Ben Gamari 🐢

Fix happy benchmark for MonadFail proposal

parent c9fe4e92
Pipeline #13699 passed with stage
in 15 minutes and 33 seconds
......@@ -30,4 +30,6 @@ The parser monad.
> m >>= k = P $ \s l -> case runP m s l of
> OkP a -> runP (k a) s l
> FailP s -> FailP s
> instance MonadFail P where
> fail s = P $ \ _ _ -> FailP s
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment