[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XSLT 2.0: Are arguments to functions evaluated ea
--On Wednesday, July 18, 2007 07:30:13 PM +0900 Justin Johansson wrote:
LISP has two such functions 'cond' and 'if' which do the same thing as my two examples. In Common Lisp 'cond' is a macro and 'if' is a "special form". If you wanted to write either as a function, you would have to write the arguments to the invocation as closures to prevent them being evaluated before the function is called. It also means that you can't pass 'cond' or 'if' as the function argument to 'funcall' or 'apply'. -- Owen Rees ======================================================== Hewlett-Packard Limited. Registered No: 690597 England Registered Office: Cain Road, Bracknell, Berks RG12 1HN
|
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
|