From 03d38eb3190eb5e51fb18847fe0792013285bde5 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Tue, 8 Apr 2014 15:06:40 +1000 Subject: Reorganising source code --- src/Concat.hs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/Concat.hs (limited to 'src/Concat.hs') 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 -- cgit