Avoid unneeded `index` var in `baseBind`.
Add `compileFunction`.
Tweak docs. [ci skip]