diff options
author | Camil Staps | 2016-01-27 19:05:36 +0100 |
---|---|---|
committer | Camil Staps | 2016-01-27 19:05:36 +0100 |
commit | ae232fce69056eb332116d9b158c21ded26d4396 (patch) | |
tree | b6e16bd2e4fa3d22a8cbc8e9bfe037d8a643487d /iclean.icl | |
parent | Moved to dopefishh/CleanReadLine (diff) |
Update CleanReadLine
Diffstat (limited to 'iclean.icl')
-rw-r--r-- | iclean.icl | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -46,7 +46,9 @@ where loop :: *World -> *World loop w # (s,w) = readLine "λ. " True w - | s == "" = print "\n" w + | isNothing s = print "\n" w + # s = fromJust s + | s == "" = w # w = writemodule s w # (r,w) = compile temp_path temp_module w | r <> 0 = loop w |