diff -r 8fb3b6d3be70 -r 81ee93b87258 progs/fun/funt.sc --- 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))