Binary file handouts/amm-ho.pdf has changed
--- a/handouts/amm-ho.tex Mon Jan 24 00:00:33 2022 +0000
+++ b/handouts/amm-ho.tex Mon Jan 24 00:14:02 2022 +0000
@@ -67,7 +67,6 @@
Ammonite can be achieved with
\begin{lstlisting}[numbers=none,language=Scala]
-scala> import $ivy.`com.lihaoyi::os-lib:0.8.0`
scala> import os._
scala> read(pwd / "file.name")
--- a/progs/fun/fun.sc Mon Jan 24 00:00:33 2022 +0000
+++ b/progs/fun/fun.sc Mon Jan 24 00:14:02 2022 +0000
@@ -170,7 +170,6 @@
// import ammonite.ops._
// post 2.5.0 ammonite
-import $ivy.`com.lihaoyi::os-lib:0.8.0`
import os._
def compile_to_file(prog: List[Decl], class_name: String) : Unit =
--- a/progs/fun/fun_llvm.sc Mon Jan 24 00:00:33 2022 +0000
+++ b/progs/fun/fun_llvm.sc Mon Jan 24 00:14:02 2022 +0000
@@ -268,7 +268,7 @@
// import ammonite.ops._
// post 2.5.0 ammonite
-import $ivy.`com.lihaoyi::os-lib:0.8.0`
+// import os._
@main
--- a/progs/fun/fun_parser.sc Mon Jan 24 00:00:33 2022 +0000
+++ b/progs/fun/fun_parser.sc Mon Jan 24 00:14:02 2022 +0000
@@ -162,7 +162,7 @@
// import ammonite.ops._
// post 2.5.0 ammonite
-import $ivy.`com.lihaoyi::os-lib:0.8.0`
+// import os._
def parse_tks(tks: List[Token]) : List[Decl] =
Prog.parse_single(tks)
--- a/progs/fun/fun_tokens.sc Mon Jan 24 00:00:33 2022 +0000
+++ b/progs/fun/fun_tokens.sc Mon Jan 24 00:14:02 2022 +0000
@@ -253,7 +253,7 @@
// import ammonite.ops._
// post 2.5.0 ammonite
-import $ivy.`com.lihaoyi::os-lib:0.8.0`
+// import os._
//@doc("Tokenising a file.")
@main
--- a/progs/fun/funt.sc Mon Jan 24 00:00:33 2022 +0000
+++ b/progs/fun/funt.sc Mon Jan 24 00:14:02 2022 +0000
@@ -165,7 +165,7 @@
// import ammonite.ops._
// post 2.5.0 ammonite
-import $ivy.`com.lihaoyi::os-lib:0.8.0`
+// import os._
def compile_to_file(prog: List[Decl], class_name: String) : Unit =
write.over(pwd / s"$class_name.j", compile(prog, class_name))
--- a/progs/while-arrays/compile_arrays.sc Mon Jan 24 00:00:33 2022 +0000
+++ b/progs/while-arrays/compile_arrays.sc Mon Jan 24 00:14:02 2022 +0000
@@ -219,7 +219,6 @@
// import ammonite.ops._
// post 2.5.0 ammonite
-import $ivy.`com.lihaoyi::os-lib:0.8.0`
import os._
--- a/progs/while-arrays/compile_arrays2.sc Mon Jan 24 00:00:33 2022 +0000
+++ b/progs/while-arrays/compile_arrays2.sc Mon Jan 24 00:14:02 2022 +0000
@@ -236,7 +236,6 @@
// import ammonite.ops._
// post 2.5.0 ammonite
-import $ivy.`com.lihaoyi::os-lib:0.8.0`
import os._
--- a/progs/while-arrays/compile_bfc.sc Mon Jan 24 00:00:33 2022 +0000
+++ b/progs/while-arrays/compile_bfc.sc Mon Jan 24 00:14:02 2022 +0000
@@ -68,7 +68,6 @@
// import ammonite.ops._
// post 2.5.0 ammonite
-import $ivy.`com.lihaoyi::os-lib:0.8.0`
import os._