Pythagorean quadruples: Difference between revisions
m
→Python :: Composition of simpler generators
Line 1,590:
'''A non-finite stream of successive powers of two.
'''
return 2 * x
return iterate(double)(1)
|