diff options
| author | Joel Martin <github@martintribe.org> | 2014-12-24 23:17:38 -0700 |
|---|---|---|
| committer | Joel Martin <github@martintribe.org> | 2015-01-09 16:16:54 -0600 |
| commit | 5400d4bf5e7fe7f968a4553f55101de962a39ef7 (patch) | |
| tree | 99db6dc9e3adc27678ce2bb36bef8a7b83ada171 /haskell/step0_repl.hs | |
| parent | c150ec41f4f0b8f384f4b1b493a5ca61db42573c (diff) | |
| download | mal-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.hs | 2 |
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) |
