We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb61925 commit 373a474Copy full SHA for 373a474
src/Haskell/Ide/Engine/Channel.hs
@@ -35,7 +35,7 @@ newChanSTM = do
35
36
-- | Consumes and returns the next value of the given channel
37
readChan :: OutChan a -> IO a
38
-readChan = STM.atomically . readChanSTM . id
+readChan = STM.atomically . readChanSTM
39
40
-- | STM version of 'readChan', useful for chaining many STM calls inside a single
41
-- 'atomically' block.
0 commit comments