···334 has the same return type and semantics as builtins.functionArgs.
335 setFunctionArgs : (a → b) → Map String Bool.
336 */
337- functionArgs = f: f.__functionArgs or (builtins.functionArgs f);
000338339 /* Check whether something is a function or something
340 annotated with function args.
···334 has the same return type and semantics as builtins.functionArgs.
335 setFunctionArgs : (a → b) → Map String Bool.
336 */
337+ functionArgs = f:
338+ if f ? __functor
339+ then f.__functionArgs or (lib.functionArgs (f.__functor f))
340+ else builtins.functionArgs f;
341342 /* Check whether something is a function or something
343 annotated with function args.