add docs example for in-generator, where arity > 1