Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- recordingTracerIORef ∷ IO (Tracer IO ev, IO [ev])
- recordingTracerM ∷ ∀ m ev. Monad m ⇒ m (Tracer m ev, m [ev])
- recordingTracerTVar ∷ MonadSTM m ⇒ m (Tracer m ev, m [ev])
Documentation
recordingTracerM ∷ ∀ m ev. Monad m ⇒ m (Tracer m ev, m [ev]) Source #
Like recordingTracerIORef
, but lifts IO to an arbitrary applicative.
This is useful to record events without changing the scheduling during a
test.