Module:MakeInvokeFunc explained

-- Based on work in return function(p) return function(funcName) return function (frame) local args = require("Module:Arguments").getArgs(frame,) return p[funcName](args) end endend