@@ -1,27 +0,0 @@
1−From deaae6eddef5186bfd0e42e2c3ced39e26afa4d6 Mon Sep 17 00:00:00 2001
2−From: "Joseph C. Sible" <josephcsible@users.noreply.github.com>
3−Date: Sat, 31 Aug 2019 21:19:37 -0400
4−Subject: [PATCH] Remove fail from default_typeclass test
5−
6−This was added when we copied in StateT from MTL, but we don't actually
7−use it. Since the MonadFail Proposal was finished in GHC 8.8.1, it now
8−breaks compiling, so remove it.
9−---
10− tests/default_typeclass.x | 1 -
11− 1 file changed, 1 deletion(-)
12−
13−diff --git a/tests/default_typeclass.x b/tests/default_typeclass.x
14−index fb06684..5491e28 100644
15−--- a/tests/default_typeclass.x
16−+++ b/tests/default_typeclass.x
17−@@ -285,7 +285,6 @@ instance (Monad m) => Monad (StateT s m) where
18− m >>= k = StateT $ \s -> do
19− (a, s') <- runStateT m s
20− runStateT (k a) s'
21−- fail str = StateT $ \_ -> fail str
22−
23− -- | Fetch the current value of the state within the monad.
24− get' :: (Monad m) => StateT s m s
25−--
26−2.16.1
27−