| changeset 869 | 16247acc4b0e | 
| parent 813 | 553cd0c5e983 | 
| child 870 | 1ea379515c6d | 
--- 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))