@@ -240,7 +240,7 @@ instance E.MonadMask (Eff es) where
240----------------------------------------
240----------------------------------------
243−data Fail :: Effect where
243+newtype Fail :: Effect where
244 Fail :: Unique -> Fail m r
244 Fail :: Unique -> Fail m r
246runFail :: Eff (Fail : es) a -> Eff es (Either String a)
246runFail :: Eff (Fail : es) a -> Eff es (Either String a)
@@ -261,7 +261,7 @@ instance Fail :> es => MonadFail (Eff es) where
262--------------------
262--------------------
264−data FailEx = FailEx Unique String
264+data FailEx = FailEx !Unique String
265instance Show FailEx where
265instance Show FailEx where
266 showsPrec p (FailEx _ msg)
266 showsPrec p (FailEx _ msg)
267 = ("Effectful.Internal.Monad.FailEx " ++)
267 = ("Effectful.Internal.Monad.FailEx " ++)
@@ -332,7 +332,7 @@ data UnliftStrategy
332 -- ^ The fastest strategy and a default setting for 'IOE'. An attempt to call
332 -- ^ The fastest strategy and a default setting for 'IOE'. An attempt to call
333 -- the unlifting function in threads distinct from its creator will result in
333 -- the unlifting function in threads distinct from its creator will result in
334 -- a runtime error.
334 -- a runtime error.
335− | ConcUnlift Persistence Limit
335+ | ConcUnlift !Persistence !Limit
336 -- ^ A strategy that makes it possible for the unlifting function to be called
336 -- ^ A strategy that makes it possible for the unlifting function to be called
337 -- in threads distinct from its creator. See 'Persistence' and 'Limit'
337 -- in threads distinct from its creator. See 'Persistence' and 'Limit'
338 -- settings for more information.
338 -- settings for more information.
@@ -360,7 +360,7 @@ data Persistence
361-- | Limit setting for the 'ConcUnlift' strategy.
361-- | Limit setting for the 'ConcUnlift' strategy.
362data Limit
362data Limit
363− = Limited Int
363+ = Limited !Int
364 -- ^ Behavior dependent on the 'Persistence' setting.
364 -- ^ Behavior dependent on the 'Persistence' setting.
366 -- For 'Ephemeral', it limits the amount of uses of the unlifting function in
366 -- For 'Ephemeral', it limits the amount of uses of the unlifting function in