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/ProofGraphMain.hs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/ProofGraphMain.hs (limited to 'src/ProofGraphMain.hs') diff --git a/src/ProofGraphMain.hs b/src/ProofGraphMain.hs new file mode 100644 index 0000000..292cf01 --- /dev/null +++ b/src/ProofGraphMain.hs @@ -0,0 +1,11 @@ +import System.Environment( getArgs ) +import Text.Printf +import Library.Parse +import Library.ProofGraph + + +main = do + args <- getArgs + list <- getLines (head args) + let result = doGraphGen (map (stripReturn) list) + printf $ (show result) ++ "\n" -- cgit