[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: side-effect-free (was Re: Can solve the N-queens - but c

Subject: Re: side-effect-free (was Re: Can solve the N-queens - but can't count!)
From: Lars Marius Garshol <larsga@xxxxxxxxxx>
Date: 21 Jun 1999 14:28:02 +0200
n queens scheme
* James Tauber
| 
| As I understand, the side-effect-freeness of XSL means that when
| processing this above template, you can go and apply the template
| for C before the template for B, or run both in parallel, etc
| without having to worry that something that applying one template
| does will affect the application of the other.

This is right, but there are other benefits of being side-effect-free
as well (and costs, not to forget). Basically, allowing side-effects
loses many nice mathematical properties of a system (such as
referential transparency) and at the same time dependencies on time
and the sequence of operations enter the system.

A very good explanation of this is in section 3.1 of the wizard book,
also known as 'Structure and Interpretation of Computer Programs', by
Abelson and Sussman. (The latter was one of the inventors of Scheme,
and the book uses Scheme.)

--Lars M.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.