ivy import not needed
authorChristian Urban <christian.urban@kcl.ac.uk>
Mon, 24 Jan 2022 00:14:02 +0000
changeset 870 739039774cee
parent 869 81ee93b87258
child 871 94b84d880c2b
ivy import not needed
handouts/amm-ho.pdf
handouts/amm-ho.tex
progs/fun/fun.sc
progs/fun/fun_llvm.sc
progs/fun/fun_parser.sc
progs/fun/fun_tokens.sc
progs/fun/funt.sc
progs/while-arrays/compile_arrays.sc
progs/while-arrays/compile_arrays2.sc
progs/while-arrays/compile_bfc.sc
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._