On Friday, 28 February 2014 18:50:50 UTC+1, Cédric Beust ♔ wrote: > > You can go one step further: > > scala> l.fold(0)(_ + _) > res0: Int = 6 > > RIght. I forgot about the scala 'arse' operator. My mistake.
-- You received this message because you are subscribed to the Google Groups "Java Posse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/javaposse. For more options, visit https://groups.google.com/groups/opt_out.
