MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

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


  • Prev by Date: Select any
  • Next by Date: documentation bug?
  • Previous by thread: Re: Select any
  • Next by thread: Re: Can you do something like yield in Mathematica?