app0.scala
author Christian Urban <urbanc@in.tum.de>
Sat, 29 Sep 2012 12:46:42 +0100
changeset 11 5353d405e4e6
parent 3 df423d3b7fa1
permissions -rw-r--r--
added slides 2

import io.Source

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