progs/fun/funt.sc
changeset 869 81ee93b87258
parent 813 059f970287d1
child 870 739039774cee
--- a/progs/fun/funt.sc	Thu Jan 20 08:58:38 2022 +0000
+++ b/progs/fun/funt.sc	Mon Jan 24 00:00:33 2022 +0000
@@ -161,7 +161,11 @@
   (library + instructions).replaceAllLiterally("XXX", class_name)
 }
 
-import ammonite.ops._
+// pre-2.5.0 ammonite 
+// import ammonite.ops._
+
+// post 2.5.0 ammonite
+import $ivy.`com.lihaoyi::os-lib:0.8.0` 
 
 def compile_to_file(prog: List[Decl], class_name: String) : Unit = 
   write.over(pwd / s"$class_name.j", compile(prog, class_name))