- From: <bugzilla@wiggum.w3.org>
- Date: Sat, 31 Mar 2007 23:02:03 +0000
- To: public-qt-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=4441 ------- Comment #2 from martin@x-hive.com 2007-03-31 23:02 ------- Also, it's often possible to re-write functions in a way that doesn't use side effects. E.g. you could formalize the environment using a variable (even if it doesn't really contain a value but evaluates to the empty sequence): let $env := local:prepareEnvironment() return ($env, local:do-something()) This enforces evaluation of the method body in all implementations if I'm not mistaken. Or you might actually find something useful to return...
Received on Saturday, 31 March 2007 23:02:09 UTC