3 ms·
I don't know about the currying, but Java has already lambda and optionals, and is getting immutable records, sealed class (product and sum types), pattern matc
by Zababa 6y ago
I don't know about the currying, but Java has already lambda and optionals, and is getting immutable records, sealed class (product and sum types), pattern matching and type inference in Project Amber [1]. They all are features usually found in functional languages (Standard ML for example).
[1]: http://openjdk.java.net/projects/amber/ http://openjdk.java.net/projects/amber/