summaryrefslogtreecommitdiffstats
path: root/Main.hs
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2014-07-27 19:06:06 +0200
committertv <tv@shackspace.de>2014-07-27 19:06:06 +0200
commit5540655e4d68def52cc67e89ed50e7700d9df01b (patch)
treeea8dcc30fa73c9b5d52c2006e06ec6db722dba04 /Main.hs
parent4589d9cf494d9cca19aa4da8aa754f6b31ef1876 (diff)
move showBuffer from Main to Buffer.Class
Diffstat (limited to 'Main.hs')
-rw-r--r--Main.hs6
1 files changed, 0 insertions, 6 deletions
diff --git a/Main.hs b/Main.hs
index 75e031f..b244de1 100644
--- a/Main.hs
+++ b/Main.hs
@@ -152,12 +152,6 @@ modifyBuffer f =
modify $ \st -> st { buffer = f (buffer st) }
--- TODO instance Show Buffer (w/newtype Buffer)
-
-showBuffer :: Buffer -> String
-showBuffer (lhs, rhs) = lhs ++ rhs
-
-
newtype ExecM a = ExecM
( ErrorT ExecError (WriterT [String] (StateT VTState IO)) a