app0.scala
author Christian Urban <urbanc@in.tum.de>
Thu, 11 Oct 2012 16:52:21 +0100
changeset 31 e22ba348b209
parent 3 df423d3b7fa1
permissions -rw-r--r--
added hw04

import io.Source

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