progs/app0.scala
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Sat, 15 Jun 2013 09:23:18 -0400
changeset 93 4794759139ea
parent 92 scala/app0.scala@e85600529ca5
child 254 dcd4688690ce
permissions -rw-r--r--
better organised

import io.Source

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