mkfunc.spad line 268 [edit on github]
transforms top-level objects into compiled functions.
compiledFunction(expr, x) returns a function f: D -> I defined by f(x) == expr. Function f is compiled and directly applicable to objects of type D.
unaryFunction(a) is a local function