aboutsummaryrefslogtreecommitdiff
path: root/iclean.icl
diff options
context:
space:
mode:
authorCamil Staps2015-07-08 20:37:34 +0200
committerCamil Staps2015-07-08 20:37:34 +0200
commitb0e2a7a87a40d36b3d1afea00ed01db7da93d544 (patch)
treed772c38ed94e2d1ca6cf6b7b6ec230c5dac3c973 /iclean.icl
parentMakefile (diff)
Cleanup, removed warnings, newline at end session
Diffstat (limited to 'iclean.icl')
-rw-r--r--iclean.icl14
1 files changed, 7 insertions, 7 deletions
diff --git a/iclean.icl b/iclean.icl
index e17cb86..f72d349 100644
--- a/iclean.icl
+++ b/iclean.icl
@@ -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"
}