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

Re: Re: mapping (Was: Re: Re: . in for)

Subject: Re: Re: mapping (Was: Re: Re: . in for)
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Fri, 11 Jan 2002 07:18:05 -0800 (PST)
 Re: Re: mapping (Was: Re: Re: . in for)
Joerg Pietschmann <joerg dot pietschmann at zkb dot ch> wrote:

> 3. Higher order functions. I'm walking on thin ice here but i
>  believe this requires the possibility to compose lambda expressions
>  from run-time supplied data. Toghether with a funcall() function, this
>  should be equivalent to the evaluate() function proposed elsewhere.

Wrong. An FP language does not generally require dynamic evaluate() function. Take
for example Haskell. It is a compiled language. Functions are compiled, not
interpreted at run time. Probably one can create an evaluate() function (and there
are Haskell interpreters written in Haskell), but this is not at all necessary in
order to create Haskell applications.


> As for true higher order functions, i still can't come up with
> convincing use cases apart from evaluate(). 

Wrong again -- evaluate() is not necessary for an FP language.

> For lambda expressions as data types, well, the most obvious use
> case is presented just above. It would also allow Dimitre to
> reformulate most of his "generic template" stuff in a more compact
> and usable form.

Not "generic template stuff" but "FP stuff", and you haven't seen most of either of
these. And to say that the "FP stuff" is not usable means not to understand what FP

> Until now, only
> Dimitre expresses some urgent need, and even he hasn't yet presented
> a convincing use case. 

Wrong -- for a third time. Dimitre doesn't express any urgent needs, especially to
convince anybody about anything.

Dimitre is happy to program in Haskell and then translate the Haskell solution into
XSLT 1.0, if that's necessary. The side effect is that a considerable library of
general functions has been implemented in XSLT 1.0 and it is immediately usable.

Dimitre Novatchev.

Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!

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

Current Thread


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.
First Name
Last Name
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.