diff options
author | Camil Staps | 2015-07-08 20:37:34 +0200 |
---|---|---|
committer | Camil Staps | 2015-07-08 20:37:34 +0200 |
commit | b0e2a7a87a40d36b3d1afea00ed01db7da93d544 (patch) | |
tree | d772c38ed94e2d1ca6cf6b7b6ec230c5dac3c973 /iclean.icl | |
parent | Makefile (diff) |
Cleanup, removed warnings, newline at end session
Diffstat (limited to 'iclean.icl')
-rw-r--r-- | iclean.icl | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -43,13 +43,13 @@ Start w where loop :: *World -> *World loop w - #! w = print "λ. " w - #! (s,w) = readline w - | s == "" = w - #! w = writemodule s w - #! (r,w) = compile temp_path temp_module w + # w = print "λ. " w + # (s,w) = readline w + | s == "" = print "\n" w + # w = writemodule s w + # (r,w) = compile temp_path temp_module w | r <> 0 = loop w - #! w = run (temp_path +++ temp_module) w + # w = run (temp_path +++ temp_module) w = loop w print :: String *World -> *World @@ -82,7 +82,7 @@ writemodule s w | not ok = abort ("Couldn't close " +++ temp_file +++ "\n") | otherwise = w -compile :: !String !String !*World -> !*(!Int,!*World) +compile :: !String !String !*World -> *(!Int,*World) compile _ _ _ = code { ccall compile "SS:p:p" } |