Cette page appartient aux archives web de l'EPFL et n'est plus tenue à jour.
This page belongs to EPFL's web archive and is no longer updated.

Scala Thoughts

testing (2)
Program, code, once again:
  

def sum1[a if (xs.tail.isEmpty) xs.head
else xs.head add sum(xs.tail)

Let's see how this comes out.
Posted by Martin Odersky at 19:56
testing....
Let's see how program code works

if (x < 0) {
...
}


if (x < 0) {
...
}




if (x < 0) {
...
}
Posted by Martin Odersky at 19:54