hgeometry-debugger
Safe HaskellNone
LanguageGHC2024

Debug.Draw

Synopsis

Documentation

traceDrawId :: (Show a, Drawable a) => LayerName -> a -> a Source #

Trace and draw

traceDraw :: (Show a, Drawable a) => LayerName -> a -> b -> b Source #

Trace and draw an a on the given layer, while returning a b.

this will add to the current layer

traceDrawIO :: (Show a, Drawable a) => LayerName -> a -> b -> IO b Source #

Implementation of traceDraw

clearLayer :: LayerName -> IO () Source #

Clears a particular layer

clear :: IO () Source #

Clears all layers

debugClient :: ClientM a -> IO () Source #

Run some client action; just print the error if it fails somehow.