progs/app0.scala
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Sun, 23 Nov 2014 22:12:18 +0000
changeset 309 640e4a05cd9b
parent 254 dcd4688690ce
child 559 db5cb071644d
permissions -rw-r--r--
updated

import io.Source

def get_page(url: String) : String = { 
  Source.fromURL(url).take(10000).mkString
}