src/Pure/System/isabelle_system.scala
changeset 75439 e1c9e4d59921
parent 75437 7b417c578b19
child 75468 a1c7829ac2de
equal deleted inserted replaced
75438:96293bd077bb 75439:e1c9e4d59921
   482     Bytes.write(file, download(url_name, progress = progress).bytes)
   482     Bytes.write(file, download(url_name, progress = progress).bytes)
   483 
   483 
   484   object Download extends Scala.Fun("download", thread = true) {
   484   object Download extends Scala.Fun("download", thread = true) {
   485     val here = Scala_Project.here
   485     val here = Scala_Project.here
   486     override def invoke(args: List[Bytes]): List[Bytes] =
   486     override def invoke(args: List[Bytes]): List[Bytes] =
   487       args match { case List(url) => List(download(url.text).bytes) case _ => ??? }
   487       args.map(url => download(url.text).bytes)
   488   }
   488   }
   489 
   489 
   490 
   490 
   491   /* repositories */
   491   /* repositories */
   492 
   492