app0.scala
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Wed, 05 Dec 2012 12:00:52 +0000
changeset 87 72d0b688e942
parent 3 df423d3b7fa1
permissions -rw-r--r--
typo

import io.Source

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