trace :: forall a b. DebugWarning => a -> (Unit -> b) -> b
Log any PureScript value to the console for debugging purposes and then
return a value. This will log the value's underlying representation for
low-level debugging, so it may be desireable to
show the value first.
The return value is thunked so it is not evaluated until after the message has been printed, to preserve a predictable console output.
doSomething = trace "Hello" \_ -> ... some value or computation ...