Skip to content

Commit fc92450

Browse files
committed
io-classes: code style
1 parent 0a587e2 commit fc92450

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

io-classes/src/Control/Monad/Class/MonadFork.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module Control.Monad.Class.MonadFork
1414

1515
import qualified Control.Concurrent as IO
1616
import Control.Exception (AsyncException (ThreadKilled), Exception)
17-
import Control.Monad.Reader
17+
import Control.Monad.Reader (ReaderT (..), lift)
1818
import Data.Kind (Type)
1919
import qualified GHC.Conc.Sync as IO (labelThread)
2020

@@ -58,8 +58,8 @@ instance MonadFork IO where
5858
throwTo = IO.throwTo
5959
killThread = IO.killThread
6060

61-
instance MonadThread m => MonadThread (ReaderT e m) where
62-
type ThreadId (ReaderT e m) = ThreadId m
61+
instance MonadThread m => MonadThread (ReaderT r m) where
62+
type ThreadId (ReaderT r m) = ThreadId m
6363
myThreadId = lift myThreadId
6464
labelThread t l = lift (labelThread t l)
6565

0 commit comments

Comments
 (0)