purescript-debug
purescript-debug copied to clipboard
Document traceM
Hi, this is a feature request to document traceM with a code example. I'm not sure of the best practices for when/how to use it.
https://pursuit.purescript.org/packages/purescript-debug/6.0.2/docs/Debug#v:traceM
Sure, we can add something for that, it's not too exotic though :smile: it's a convenience for tracing in monadic do blocks - this kind of thing:
thing = do
someMonadicStuff
Debug.traceM "Reached here"
someOtherStuff