summaryrefslogtreecommitdiff
path: root/src/Concat.hs
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2014-04-08 15:06:40 +1000
committerJed Barber <jjbarber@y7mail.com>2014-04-08 15:06:40 +1000
commit03d38eb3190eb5e51fb18847fe0792013285bde5 (patch)
tree1060d26d3042b5c0c5b1c027fac45fe87f3d685a /src/Concat.hs
parentf2c4e4614613ede497f19ef79dc7dc157eaca834 (diff)
Reorganising source code
Diffstat (limited to 'src/Concat.hs')
-rw-r--r--src/Concat.hs16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/Concat.hs b/src/Concat.hs
new file mode 100644
index 0000000..18d0f5d
--- /dev/null
+++ b/src/Concat.hs
@@ -0,0 +1,16 @@
+import System.Environment( getArgs )
+import Text.Printf
+import Library.Parse
+import Library.ProofGraph
+import Library.WriteProof
+
+
+
+main = do
+ args <- getArgs
+ x <- getLines $ args!!0
+ y <- getLines $ args!!1
+ let list = x ++ y
+ graph = doGraphGen (map (stripReturn) list)
+ trace = doWriteProof graph
+ output trace