app0.scala
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Wed, 05 Dec 2012 12:38:24 +0000
changeset 88 6e716ecf2db4
parent 3 df423d3b7fa1
permissions -rw-r--r--
typo

import io.Source

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