Y
Hacker News
new
|
ask
|
show
|
jobs
by
hraberg
5640 days ago
Enumerable.java (
http://enumerable.org
) is not really a functional library, but it does support limited closures:
boolean b = a.any(λ(s, s.equals(s.toLowerCase()));
s and λ are statically imported.