progs/app0.scala
changeset 254 dcd4688690ce
parent 93 4794759139ea
child 559 db5cb071644d
equal deleted inserted replaced
253:75c469893514 254:dcd4688690ce
     1 import io.Source
     1 import io.Source
     2 
     2 
     3 def get_page(url: String) : String = { 
     3 def get_page(url: String) : String = { 
     4   Source.fromURL(url).take(10000).mkString  
     4   Source.fromURL(url).take(10000).mkString
       
     5 }  
     5 
     6 
     6 
     7