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.

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 on Tuesday 25 January 2005 at 19:56