File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
io-classes/src/Control/Monad/Class/MonadSTM Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -99,12 +99,6 @@ module Control.Monad.Class.MonadSTM.Internal
99
99
, labelTChanDefault
100
100
) where
101
101
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
-
108
102
import Prelude hiding (read )
109
103
110
104
import qualified Control.Concurrent.STM.TArray as STM
@@ -136,6 +130,13 @@ import GHC.Stack
136
130
import Numeric.Natural (Natural )
137
131
138
132
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
+
139
140
-- | The STM primitives parametrised by a monad `m`.
140
141
--
141
142
class (Monad m , Monad (STM m )) => MonadSTM m where
You can’t perform that action at this time.
0 commit comments