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 :: forall a m. HasCallStack => Monad m => Show a => a -> m ()
- dbgs_ :: forall a m. HasCallStack => Monad m => Show a => a -> m a
- tr :: HasCallStack => Text -> a -> a
- trs :: forall b a. Show b => HasCallStack => b -> a -> a
- trsi :: Show a => HasCallStack => a -> a
Documentation
tr :: HasCallStack => Text -> a -> a Source #
trs :: forall b a. Show b => HasCallStack => b -> a -> a Source #
Like traceShow
, but with source location prefix.
trsi :: Show a => HasCallStack => a -> a Source #
Like traceShowId
, but with source location prefix.