Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Utility functions for trace-printing values prefixed with the current source location.
Synopsis
- dbg :: HasCallStack => Monad m => Text -> m ()
- dbgs :: HasCallStack => Monad m => Show a => a -> m ()
- dbgs_ :: HasCallStack => Monad m => Show a => a -> m a
- tr :: HasCallStack => Text -> a -> a
- trs :: Show a => HasCallStack => a -> a
- trs' :: Show b => HasCallStack => b -> a -> a
Documentation
tr :: HasCallStack => Text -> a -> a Source #
trs :: Show a => HasCallStack => a -> a Source #
Like traceShowId
, but with Text
and with source location prefix.