Function builders

It may be little too late, but I think there is a better solution that is simpler and not limited to just builder functions.

see: Function environment parameters