Fri Aug 22 10:57:48 CEST 2008
lazy composition : concatenative vs. compositional
I'm not using the concatenative vs. compositional property anywhere.
This extra inspection level could be useful for optimizations. It
boils down to 'lazy composition'.
Bottom line: hiding the primary composition mechanism behind lambda is
NOT a good idea because it throws away information that might be
exploited during optimization. The lambda representation IS a good
idea for introducing arbitrary primitives however.
The good part is that this is easy to change.
Also note that a CPS style representation is actually better than a
nested lambda expression representation.