aboutsummaryrefslogtreecommitdiff
path: root/bin/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/Main.hs')
-rw-r--r--bin/Main.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/Main.hs b/bin/Main.hs
index 7bb6d84..a088fdb 100644
--- a/bin/Main.hs
+++ b/bin/Main.hs
@@ -26,8 +26,7 @@ repl = do
26 Just ",q" -> return () 26 Just ",q" -> return ()
27 Just line -> do 27 Just line -> do
28 addHistory line 28 addHistory line
29 -- TODO: don't directly print Either values 29 putStrLn $ either show show $ eval =<< readExpr line
30 print $ eval =<< readExpr line
31 repl 30 repl
32 31
33main :: IO () 32main :: IO ()