@@ -976,13 +976,9 @@ instance Monad (BehaviorM x) where
976
976
return x = BehaviorM $ return x
977
977
#if !MIN_VERSION_base(4,13,0)
978
978
{-# INLINE fail #-}
979
- fail s = MonadFail. fail
979
+ fail s = BehaviorM $ fail s
980
980
#endif
981
981
982
- instance MonadFail (BehaviorM x ) where
983
- {-# INLINABLE fail #-}
984
- fail s = BehaviorM $ MonadFail. fail s
985
-
986
982
data BehaviorSubscribed x a
987
983
= forall p . BehaviorSubscribedHold (Hold x p )
988
984
| BehaviorSubscribedPull (PullSubscribed x a )
@@ -2649,7 +2645,7 @@ instance Monad (SpiderHost x) where
2649
2645
return x = SpiderHost $ return x
2650
2646
#if !MIN_VERSION_base(4,13,0)
2651
2647
{-# INLINABLE fail #-}
2652
- fail s = MonadFail. fail
2648
+ fail = MonadFail. fail
2653
2649
#endif
2654
2650
2655
2651
instance MonadFail (SpiderHost x ) where
@@ -2678,13 +2674,9 @@ instance Monad (SpiderHostFrame x) where
2678
2674
return x = SpiderHostFrame $ return x
2679
2675
#if !MIN_VERSION_base(4,13,0)
2680
2676
{-# INLINABLE fail #-}
2681
- fail s = MonadFail. fail
2677
+ fail s = SpiderHostFrame $ fail s
2682
2678
#endif
2683
2679
2684
- instance MonadFail (SpiderHostFrame x ) where
2685
- {-# INLINABLE fail #-}
2686
- fail s = SpiderHostFrame $ MonadFail. fail s
2687
-
2688
2680
instance NotReady (SpiderTimeline x ) (SpiderHostFrame x ) where
2689
2681
notReadyUntil _ = pure ()
2690
2682
notReady = pure ()
@@ -2735,4 +2727,4 @@ instance NotReady (SpiderTimeline x) (SpiderHost x) where
2735
2727
2736
2728
instance HasSpiderTimeline x => NotReady (SpiderTimeline x ) (PerformEventT (SpiderTimeline x ) (SpiderHost x )) where
2737
2729
notReadyUntil _ = return ()
2738
- notReady = return ()
2730
+ notReady = return ()
0 commit comments