add functors.rst to Sphinx document