[plt-scheme] Functional Abstraction in Java

From: Raoul Duke (raould at gmail.com)
Date: Wed Jul 1 14:13:12 EDT 2009

> You can think of functions A -> B as objects satisfying the interface B
> apply(A).  So all of your favorite functional idioms can be expressed in
> Java, just with considerable notational overhead.  It's fun to try -- so
> don't just take my word for it.

btw, personally i find this kind of stuff is easier/better/clearer in
something like Scala than in Java.


Posted on the users mailing list.