functional programming
Terry Reedy
tjreedy at udel.edu
Thu Feb 24 03:19:09 EST 2000
"Jason Stokes" <jstok at bluedog.apana.org.au> wrote in message
news:oDSs4.32316$3b6.155642 at ozemail.com.au...
> This example exploits lazy evaluation. Since Python is strict, like most
> procedural languages, it isn't possible to produce this in Python.
If I understand what you are saying, its fairly easy: write a class that
memoizes computed answers in a list and extends the list as needed. Posted
some time ago.
TJ Reedy
More information about the Python-list
mailing list