equal
deleted
inserted
replaced
8 { |
8 { |
9 val ERROR = Exn.ERROR |
9 val ERROR = Exn.ERROR |
10 val error = Exn.error _ |
10 val error = Exn.error _ |
11 def cat_error(msgs: String*): Nothing = Exn.cat_error(msgs:_*) |
11 def cat_error(msgs: String*): Nothing = Exn.cat_error(msgs:_*) |
12 |
12 |
13 def using[A <: { def close() }, B](x: A)(f: A => B): B = Library.using(x)(f) |
13 def using[A <: AutoCloseable, B](a: A)(f: A => B): B = Library.using(a)(f) |
14 val space_explode = Library.space_explode _ |
14 val space_explode = Library.space_explode _ |
15 val split_lines = Library.split_lines _ |
15 val split_lines = Library.split_lines _ |
16 val cat_lines = Library.cat_lines _ |
16 val cat_lines = Library.cat_lines _ |
17 val terminate_lines = Library.terminate_lines _ |
17 val terminate_lines = Library.terminate_lines _ |
18 val quote = Library.quote _ |
18 val quote = Library.quote _ |
23 def proper_list[A](list: List[A]): Option[List[A]] = Library.proper_list(list) |
23 def proper_list[A](list: List[A]): Option[List[A]] = Library.proper_list(list) |
24 |
24 |
25 type UUID = java.util.UUID |
25 type UUID = java.util.UUID |
26 def UUID(): UUID = java.util.UUID.randomUUID() |
26 def UUID(): UUID = java.util.UUID.randomUUID() |
27 } |
27 } |
28 |
|