Debug.Trace.trace should work on Show
Debug.Trace.trace has type
trace :: String -> a -> a
which forces me to insert calls to show. Could it be
generalised to
trace :: Show a => a -> b -> b
Thanks,
Juliusz Chroboczek
Debug.Trace.trace has type
trace :: String -> a -> a
which forces me to insert calls to show. Could it be
generalised to
trace :: Show a => a -> b -> b
Thanks,
Juliusz Chroboczek