Skip to content

Commit 373a474

Browse files
mpickeringwz1000
andauthored
Update src/Haskell/Ide/Engine/Channel.hs
Co-Authored-By: wz1000 <[email protected]>
1 parent fb61925 commit 373a474

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Haskell/Ide/Engine/Channel.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ newChanSTM = do
3535

3636
-- | Consumes and returns the next value of the given channel
3737
readChan :: OutChan a -> IO a
38-
readChan = STM.atomically . readChanSTM . id
38+
readChan = STM.atomically . readChanSTM
3939

4040
-- | STM version of 'readChan', useful for chaining many STM calls inside a single
4141
-- 'atomically' block.

0 commit comments

Comments
 (0)