From ab51bee40c82cd552bcf13e24b67d43f3b8d25f3 Mon Sep 17 00:00:00 2001 From: Herbert Valerio Riedel Date: Sat, 10 Nov 2018 01:12:52 +0100 Subject: base: Remove `Monad(fail)` method and reexport `MonadFail(fail)` instead As per https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail Coauthored-by: Ben Gamari --- testsuite/tests/profiling/should_run/T3001-2.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'testsuite/tests/profiling') diff --git a/testsuite/tests/profiling/should_run/T3001-2.hs b/testsuite/tests/profiling/should_run/T3001-2.hs index 538a435bec..6511491a46 100644 --- a/testsuite/tests/profiling/should_run/T3001-2.hs +++ b/testsuite/tests/profiling/should_run/T3001-2.hs @@ -192,6 +192,7 @@ instance Monad Get where in unGet (k a) s') {-# INLINE (>>=) #-} +instance MonadFail Get where fail = error "failDesc" instance Applicative Get where -- cgit v1.2.1