Debug

protolude-0.1.7: A sensible set of defaults for writing custom Preludes.

Safe Haskell | Trustworthy
Language | Haskell2010

Debug

Synopsis

- undefined :: a
- error :: Text -> 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

# Documentation

undefined :: a #

error :: Text -> a #

Warning: `error` 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: `traceM` 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 #