Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 11d507bc95
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (15 sloc) 0.367 kB
/*
Copyright : (c) 2010 Bernie Pope
License : BSD-style
Maintainer : florbitous@gmail.com
Debugging CPP macros.
LIO refers to the LiftedIO library. This allows us to use putStrLn in any
MonadIO context.
*/
#ifdef DEBUG
#define BELCH(str) (LIO.putStrLn (str))
#define IF_DEBUG(action) (action)
#else
#define BELCH(str)
#define IF_DEBUG(action)
#endif
Jump to Line
Something went wrong with that request. Please try again.