Matt McCutchen's Web Site
/
match
/
match.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- Add the notes Samir emailed me on 2008-07-06.
[match/match.git]
/
program
/
debug
diff --git a/program/debug
b/program/debug
new file mode 100755
(executable)
index 0000000..
7742e85
--- /dev/null
+++ b/
program/debug
@@ -0,0
+1,5
@@
+#!/bin/bash
+# Let ghci see only the source so it loads the modules debuggably.
+mkdir -p debugdir
+(cd debugdir && ln -fs ../*.hs .)
+exec ghci -i -idebugdir Test "$@"