docs: def print_yielded(func):
  	"""
  	Convert a generator into a function that prints all yielded elements
  
  	>>> @print_yielded
  	... def x():
  	...     yield 3; yield None
  	>>> x()
  	3
  	None
  	"""
  	print_all = functools.partial(map, print)
  	print_results = compose(more_itertools.recipes.consume, print_all, func)
  	return functools.wraps(func)(print_results)