Bedarfsauswertung in Scala

object L {
  def F (x : Int) : Int = {
      println ("F", x) ; x*x
  }        
  def main (args : Array[String]) {
      lazy val a = F(3);
      println ("here")
      println (a);
  } }

http://www.scala-lang.org/



Johannes Waldmann 2014-07-10