2006/7/4, Pascal Jasmin <[EMAIL PROTECTED]>:
We've covered Memoization J. Its pretty easy. I've posted code in the archives, as a general framework for implementing decorators in J.
Wouldn't it be nice to have the framework on the jwiki? I'd appreciate it.
For lazy evaluation, Python-like generators are the right model. Its not that involved either. Lazyness is a feature that is selectively useful on data structures. In my opinion, imposing pure functional restrictions is an absurd idea. You are able to set restrictions on yourself or your project team if you feel those restrictions will accomplish something, but you should not hope to burden functional limitations on the rest of the world, because variable assignments do not prevent quickly developed working solutions to problems. Imperative patterns with little theoretical elegance can nevertheless be effective for some with practise and routine. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
