I feel rejected :)

Rémi Forax forax at univ-mlv.fr
Tue Mar 15 08:41:32 PDT 2011

And this one crash the compiler:

     public interface Folder<T> {
         public T fold(T a, T b);

     public static <T> Folder<T> max() {
       return #{ a, b -> (((Comparable)a).compareTo(b)<0)? b: a };

It doesn't like the cast in the lambda.


More information about the lambda-dev mailing list