diff options
author | Ian Lynagh <igloo@earth.li> | 2009-06-20 16:13:57 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2009-06-20 16:13:57 +0000 |
commit | 64bcc31d886edc1b4fbc00a20e269257bcc0d3d0 (patch) | |
tree | fbb23a53c79e8bccaeb32c6edf89b26b39075e42 /libraries/ghc-prim/cbits/debug.c | |
parent | f06ff788fd634677aca2cf4fd68eae3b699d4eb7 (diff) | |
download | haskell-64bcc31d886edc1b4fbc00a20e269257bcc0d3d0.tar.gz |
Add a GHC.Debug module, with debugLn :: [Char] -> IO ()
Diffstat (limited to 'libraries/ghc-prim/cbits/debug.c')
-rw-r--r-- | libraries/ghc-prim/cbits/debug.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libraries/ghc-prim/cbits/debug.c b/libraries/ghc-prim/cbits/debug.c new file mode 100644 index 0000000000..ff34c5a90d --- /dev/null +++ b/libraries/ghc-prim/cbits/debug.c @@ -0,0 +1,6 @@ + +#include <stdio.h> + +void debugLn(char *s) { + printf("%s\n", s); +} |