summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cmd.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/Cmd.hs b/Cmd.hs
new file mode 100644
index 0000000..d4c617a
--- /dev/null
+++ b/Cmd.hs
@@ -0,0 +1,10 @@
+module Cmd where
+
+import State
+
+data Cmd = Cmd String String (State -> IO ())
+
+instance Show Cmd where
+ show (Cmd a b _) = a ++ " - " ++ b
+
+