summaryrefslogtreecommitdiffhomepage
path: root/Replay.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Replay.hs')
-rw-r--r--Replay.hs12
1 files changed, 12 insertions, 0 deletions
diff --git a/Replay.hs b/Replay.hs
new file mode 100644
index 0000000..599ca77
--- /dev/null
+++ b/Replay.hs
@@ -0,0 +1,12 @@
+module Replay where
+
+import Types
+import Log
+import CmdLine
+
+replay :: ReplayOpts -> IO ()
+replay opts = go =<< loadLog (replayLogFile opts)
+ where
+ go [] = return ()
+ go (l:ls) = do
+ go ls