Protolude.Debug

protolude-0.3.4: A small prelude.

Safe Haskell | Trustworthy
Language | Haskell2010

Protolude.Debug

Synopsis

- undefined :: a
- trace :: Print b => b -> a -> a
- traceM :: Monad m => Text -> m ()
- traceId :: Text -> Text
- traceIO :: Print b => b -> a -> IO a
- traceShow :: Show a => a -> b -> b
- traceShowId :: Show a => a -> a
- traceShowM :: (Show a, Monad m) => a -> m ()
- notImplemented :: a
- witness :: a

# Documentation

undefined :: a #

Warning: `undefined` remains in code

trace :: Print b => b -> a -> a #

Warning: `trace` remains in code

traceM :: Monad m => Text -> m () #

Warning: `traceM` remains in code

traceId :: Text -> Text #

Warning: `traceId` remains in code

traceIO :: Print b => b -> a -> IO a #

Warning: `traceIO` remains in code

traceShow :: Show a => a -> b -> b #

Warning: `traceShow` remains in code

traceShowId :: Show a => a -> a #

Warning: `traceShowId` remains in code

traceShowM :: (Show a, Monad m) => a -> m () #

Warning: `traceShowM` remains in code

notImplemented :: a #

Warning: `notImplemented` remains in code

witness :: a #