Can you do something like yield in Mathematica?
- To: mathgroup at smc.vnet.net
- Subject: [mg101938] Can you do something like yield in Mathematica?
- From: Niko <niko.schwarz at googlemail.com>
- Date: Thu, 23 Jul 2009 03:57:48 -0400 (EDT)
In Python, the yield statement is a convenient way to create generators. see http://ttsiodras.googlepages.com/yield.html. Does Mathematica have that, too? niko