summaryrefslogtreecommitdiff
path: root/libraries/ghc-prim/cbits/debug.c
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-06-20 16:13:57 +0000
committerIan Lynagh <igloo@earth.li>2009-06-20 16:13:57 +0000
commit64bcc31d886edc1b4fbc00a20e269257bcc0d3d0 (patch)
treefbb23a53c79e8bccaeb32c6edf89b26b39075e42 /libraries/ghc-prim/cbits/debug.c
parentf06ff788fd634677aca2cf4fd68eae3b699d4eb7 (diff)
downloadhaskell-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.c6
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);
+}