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

Re: XPath is NOT a functional language

Subject: Re: XPath is NOT a functional language
From: "Andrew Curry" <andrew.curry@xxxxxxxxxxxx>
Date: Tue, 30 Mar 2004 13:41:43 +0100
curry functional
Its definatly a functional language...
an xpath expression is simply an interface to a series of function calls.

----- Original Message -----
From: "Michael Kay" <mhk@xxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, March 30, 2004 1:38 PM
Subject: RE:  XPath is NOT a functional language


> Actually, much though I would like to see functions supported as
first-class
> objects within the type system, most of the definitions of the term
> "functional language" do not require this concept, and are aligned with
the
> way the XPath spec uses the term.
>
> See for example http://www.google.com/search?q=define:functional+language
>
> With Phil Wadler on the working group, we could hardly get away with using
> the term in a way that's out of line with accepted definitions.
>
> Michael Kay
>
> > -----Original Message-----
> > From: Colin Paul Adams [mailto:colin@xxxxxxxxxxxxxxxxxx]
> > Sent: 30 March 2004 07:52
> > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > Subject:  XPath is NOT a functional language
> >
> > I don't no whether to be amused or appalled (I incline to the later),
> > to see this near the beginning of the XPath 2.0 draft:
> >
> > [Definition: XPath is a functional language, which means that
> > expressions can be nested with full generality. ]
> >
> > SINCE WHEN?
> >
> > If a function definition were an expression, then this statement would
> > be true, but you can't even define functions in XPath, let alone pass
> > there definitions around. Nor can you pass a QNAME to stand for the
> > function definition either.
> > --
> > Colin Paul Adams
> > Preston Lancashire

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.