|
[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message] Tuple typesPavel Minaev int19h at gmail.comWed Sep 2 10:36:59 PDT 2009
On Wed, Sep 2, 2009 at 3:44 AM, Florent Georges<http://x-query.com/mailman/listinfo/talk> wrote: >> > This makes sense, though it would be a nuisance to have to >> > define ref() and deref() every time. Is there any >> > consideration to make them standard library functions? > >> My recollection is that the WG considered adding them and >> rejected the idea on the grounds that functions that can be >> defined in XQuery itself better belong in something like EXPath >> function modules. It's highly likely that I'll submit such a >> module to EXPath in the future. > > My first reaction was: "Why? Just use the HOF feature directly." It's an obvious solution in case of deref(), but having to type out identity lambdas in full every time will get repetitive fast, which is why I think ref() is still handy regardless.
|
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
|






