--- a/progs/app1.scala Sun Sep 21 17:40:04 2014 +0100
+++ b/progs/app1.scala Sun Sep 21 23:23:43 2014 +0100
@@ -1,3 +1,4 @@
-def get_page(url: String) : String =
+def get_page(url: String) : String = {
Try(Source.fromURL(url).take(10000).mkString) getOrElse
{ println(s" Problem with: $url"); ""}
+}