[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Re: A proposal:xsl:result-document asynchronous at
Hi Dimitre,
Dimitre Novatchev wrote: Not in the case of a functional language -- distinguishing between a sideI agree that there would have to be a clear distinction, and I have to admit I have no idea how difficult this would or wouldn't be to implement. (I should also have used a less adventurous comaprison, since I triggered at least one recipient's rude-things filter) Ah - time for me to spend some time with FXSL, perhaps - I think I understand what Monads do in Haskell but never really had that "aha" moment - maybe seeing what you've done in a language I understand better will help.Just to say that a function has side effects is not sufficient. There must be good mechanisms that support the use of functions with side effects, otherwise the result of evaluation will be unpredictable. Yes, I'd like to see it done properly. Though I have a feeling that getting it done properly will involve a major culture-transplant to non Haskell-heads such as myself.While this sounds like a justified remark, it remains simply wishful thinking if proper mechanisms to ensure reliable and predictable use of functions with side effects are not in place. timestamp, randomNumber and interaction with unsafe, non-idempotent web-services would be my favourite "unclean" features.It is highly unlikely that XSLT 2.0 will offer such a mechanism, as it lacks standard support for higher-order functions. Thanks - Francis. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|