Generator/Exponential: Difference between revisions

Content deleted Content added
→‎Closures-Based Version: added template constraint
m generators return generations
Line 3:
'''Task description'''
 
# Create a function returningthat returns a generatorgeneration of the m'th powers of the positive integers starting from zero, in order, and without obvious or simple upper limit. (Any upper limit to the generator should not be stated in the source but should be down to factors such as the languages natural integer size limit or computational time/size).
# Use it to create a generator of:
:# Squares.