It would make sense to use a proper logging mechanism instead of writing to standard output. I am thinking of Control.Monad.Logger or similar.
Otherwise at least add a preprocessor statement for turning on/off debugging:
debugging =
#ifdef DEBUG
True
#else
False
#endif
It would make sense to use a proper logging mechanism instead of writing to standard output. I am thinking of
Control.Monad.Loggeror similar.Otherwise at least add a preprocessor statement for turning on/off debugging: