This is a followup of a few of my previous posts (lisp-like programming, aspects and honey, patterns & languages, closures), which describe some programming idioms typical for lisp-like languages.
simple partial evaluation
Here I will add some very short examples for how to do partial evaluation in php. The most straight forward approach would be something like: