Posts Tagged ‘haskell’
Thoughts on CICE (closures?)
22Mar08
CICE is a proposal by Doug Lea, Josh Bloch and ‘Crazy’ Bob Lee. It is being touted as a “closures” proposal for Java 7 alongside Neal Gafter’s BGGA (for instance). Here are some thoughts I had after reading their document:
So basically, CICE is syntactic sugar for anonymous classes. In Guice parlance, the following:
bind(Service.class).toProvider(new Provider<Service>() {
public Service [...]
Filed under: 1 | 4 Comments
Tags: closures, guice, haskell, lambda, scheme, type system