We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f28b89 commit db8a525Copy full SHA for db8a525
io-sim/src/Control/Monad/IOSim/Types.hs
@@ -1,3 +1,4 @@
1
+{-# LANGUAGE BangPatterns #-}
2
{-# LANGUAGE CPP #-}
3
{-# LANGUAGE DeriveFunctor #-}
4
{-# LANGUAGE DeriveGeneric #-}
@@ -147,7 +148,7 @@ runIOSim (IOSim k) = k Return
147
148
-- `selectTraceEventsDynamic'`.
149
--
150
traceM :: Typeable a => a -> IOSim s ()
-traceM x = IOSim $ oneShot $ \k -> Output (toDyn x) (k ())
151
+traceM !x = IOSim $ oneShot $ \k -> Output (toDyn x) (k ())
152
153
-- | Trace a value, in the same was as `traceM` does, but from the `STM` monad.
154
-- This is primarily useful for debugging.
0 commit comments