partialfunction相关知识