Skip to content

Commit cb84db9

Browse files
committed
io-classes: fixed building haddocks with ghc-8.10
1 parent 287fce4 commit cb84db9

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

io-classes/src/Control/Monad/Class/MonadSTM/Internal.hs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,6 @@ module Control.Monad.Class.MonadSTM.Internal
9999
, labelTChanDefault
100100
) where
101101

102-
-- $default-implementations
103-
--
104-
-- The default implementations are based on a `TVar` defined in the class. They
105-
-- are tailored towards `IOSim` rather than instances which would like to derive
106-
-- from `IO` or monad transformers.
107-
108102
import Prelude hiding (read)
109103

110104
import qualified Control.Concurrent.STM.TArray as STM
@@ -136,6 +130,13 @@ import GHC.Stack
136130
import Numeric.Natural (Natural)
137131

138132

133+
-- $default-implementations
134+
--
135+
-- The default implementations are based on a `TVar` defined in the class. They
136+
-- are tailored towards `IOSim` rather than instances which would like to derive
137+
-- from `IO` or monad transformers.
138+
139+
139140
-- | The STM primitives parametrised by a monad `m`.
140141
--
141142
class (Monad m, Monad (STM m)) => MonadSTM m where

0 commit comments

Comments
 (0)