[Haskell-cafe] Debug tracing in Haskell

Daniel Trstenjak daniel.trstenjak at gmail.com
Tue Nov 22 13:45:53 UTC 2016


Hi Clinton,

On Wed, Nov 23, 2016 at 12:37:57AM +1100, Clinton Mead wrote:
> The only approach I can think of so far is to whack this all in a template
> haskell module and add code that splices it all into the current module:

If you're already using cpp you could also put everyting into a 'Trace.h' file
and include it:

#include "Trace.h"


Greetings,
Daniel


More information about the Haskell-Cafe mailing list