def foo top fns for fn in fns yield top fn

1
2
3
def foo( (top, _, fns) ):
for fn in fns:
yield (top, fn)