And indeed it works. What's mind-blowing is that it's NEVER used ANYWHERE.
This allows you to create a higher-order function partial defined as follows
Code: Select all
(setq partial (lambda (func %args) (block ((const_args %args)) ; Required to create a closure which stores frozen arguments and also create an alias for %args (lambda (%args) ; partial returns a function (apply func (append const_args %args)))))) ; func is stored in the closure and so is const_args,