aboutsummaryrefslogtreecommitdiff
path: root/haskell/step0_repl.hs
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2014-12-24 23:17:38 -0700
committerJoel Martin <github@martintribe.org>2015-01-09 16:16:54 -0600
commit5400d4bf5e7fe7f968a4553f55101de962a39ef7 (patch)
tree99db6dc9e3adc27678ce2bb36bef8a7b83ada171 /haskell/step0_repl.hs
parentc150ec41f4f0b8f384f4b1b493a5ca61db42573c (diff)
downloadmal-5400d4bf5e7fe7f968a4553f55101de962a39ef7.tar.gz
mal-5400d4bf5e7fe7f968a4553f55101de962a39ef7.zip
Haskell: add error handling and try*/catch*.
Achieve self-hosting!
Diffstat (limited to 'haskell/step0_repl.hs')
-rw-r--r--haskell/step0_repl.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/step0_repl.hs b/haskell/step0_repl.hs
index ab83602..6396400 100644
--- a/haskell/step0_repl.hs
+++ b/haskell/step0_repl.hs
@@ -1,4 +1,4 @@
-import Control.Monad
+import System.IO (hFlush, stdout)
import Readline (readline, load_history)