summaryrefslogtreecommitdiff
path: root/Cmd.hs
diff options
context:
space:
mode:
authorpb <pb@9f8f72e9-4bf4-416e-b76e-7d4203597157>2010-03-14 15:00:19 +0000
committerpb <pb@9f8f72e9-4bf4-416e-b76e-7d4203597157>2010-03-14 15:00:19 +0000
commit00b43501612224cb32a6cde6c3c97d2e39b49d59 (patch)
tree3edb54a5f8ec6ee476adbcd7b24bbe0be7a52bd6 /Cmd.hs
parent505b9940f6739dafd5a71fec8d7fdba4724d90ba (diff)
git-svn-id: https://ssl.buetow.org/repos/hsbot/trunk@29 9f8f72e9-4bf4-416e-b76e-7d4203597157
Diffstat (limited to 'Cmd.hs')
-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
+
+