diff options
author | Jed Barber <jjbarber@y7mail.com> | 2012-08-02 08:31:37 +1000 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2012-08-02 08:31:37 +1000 |
commit | 5eeb784929c9bb3bc146aa2b5c2b1aab2e86a5ff (patch) | |
tree | eec8693ed5b680179344ca5ad877f9299d6375cd | |
parent | 561175c53ada76ec2bcf69ffcacefc2010d13c2d (diff) |
Allows concatenation of article files
-rw-r--r-- | Concat.hs | 16 |
1 files changed, 16 insertions, 0 deletions
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 |