equal
deleted
inserted
replaced
10 |
10 |
11 type Mem = Map[Int, Int] |
11 type Mem = Map[Int, Int] |
12 |
12 |
13 |
13 |
14 // (1) Write a function that takes a file name as argument and |
14 // (1) Write a function that takes a file name as argument and |
15 // and requests the corresponding file from disk. It Returns the |
15 // and requests the corresponding file from disk. It returns the |
16 // content of the file as a String. If the file does not exists, |
16 // content of the file as a String. If the file does not exists, |
17 // the function should Return the empty string. |
17 // the function should return the empty string. |
18 |
18 |
19 import io.Source |
19 import io.Source |
20 import scala.util._ |
20 import scala.util._ |
21 |
21 |
22 def load_bff(name: String) : String = ??? |
22 def load_bff(name: String) : String = ??? |