precursor-0.1.0.0: Prelude replacement

Safe HaskellNone
LanguageHaskell2010

Precursor.Debug

Synopsis

Documentation

undefined :: HasCallStack => a #

A special case of error. It is expected that compilers will recognize this and insert error messages which are more appropriate to the context in which undefined appears.

trace :: Text -> b -> b Source #

Warning: trace remains in code

Used for tracing a message along with a pure value. For debugging purposes only.

traceShow :: TextShow a => a -> a Source #

Warning: traceShow remains in code

Prints a value to stdout when it's evaluated. For debugging purposes only.

notImplemented :: a Source #

Warning: notImplemented remains in code

Used to fill in holes in code for later implementation.