in reply to Re^5: Why is the execution order of subexpressions undefined? (why not?)
in thread Why is the execution order of subexpressions undefined?

Be careful what you wish for. Haskell has lazy evaluation, but it is extremely easy to create a program plagued with space leaks. And if you eliminate the automatic memoization, you'll end up turning your space leaks into time leaks.
  • Comment on Re^6: Why is the execution order of subexpressions undefined? (why not?)

Replies are listed 'Best First'.
Re^7: Why is the execution order of subexpressions undefined? (why not?)
by diotalevi (Canon) on Jul 15, 2006 at 00:10 UTC

    Oh genie? I wish for sanity too. There are places in real code that I want this to happen.

    ⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

      I wish for sanity too. There are places in real code that I want this to happen.
      Delayed evaluation in Perl is spelled sub.