From 5eeb784929c9bb3bc146aa2b5c2b1aab2e86a5ff Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Thu, 2 Aug 2012 08:31:37 +1000 Subject: Allows concatenation of article files --- Concat.hs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Concat.hs diff --git a/Concat.hs b/Concat.hs new file mode 100644 index 0000000..f822bcf --- /dev/null +++ b/Concat.hs @@ -0,0 +1,16 @@ +import System( getArgs ) +import Text.Printf +import Parse +import ProofGraph +import 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