简化functor