From 74c4e8e02dc1189eac521552566678914631737f Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Sun, 29 Oct 2017 11:00:52 +0100 Subject: Use gPrint instead of genShow for printing results --- iclean.icl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iclean.icl b/iclean.icl index 520e91d..31cd2e1 100644 --- a/iclean.icl +++ b/iclean.icl @@ -38,7 +38,7 @@ import ExtraString temp_path :== "/tmp/" temp_module :== "iclean" readline_history :== "/home/.iclean_history" -template :== map ((+++) "import ") ["StdEnv", "StdDynamic", "Gast.GenLibTest"] +template :== map ((+++) "import ") ["StdEnv", "StdDynamic", "GenPrint"] template_file :== "/home/.iclean_template" // END SETTINGS @@ -179,7 +179,7 @@ where (False, False) = "()" where type = "toString (typeCodeOfDynamic (dynamic start))" - rslt = "foldl (+++) \"\" (genShow{|*|} \"\" True start [])" + rslt = "printToString start" // C functions compile :: !String !String !*World -> *(!Int,!*World) -- cgit v1.2.3