···334334 has the same return type and semantics as builtins.functionArgs.
335335 setFunctionArgs : (a → b) → Map String Bool.
336336 */
337337- functionArgs = f: f.__functionArgs or (builtins.functionArgs f);
337337+ functionArgs = f:
338338+ if f ? __functor
339339+ then f.__functionArgs or (lib.functionArgs (f.__functor f))
340340+ else builtins.functionArgs f;
338341339342 /* Check whether something is a function or something
340343 annotated with function args.