W3C home > Mailing lists > Public > www-xml-query-comments@w3.org > May 2001

Remembering LISP

From: Ivan Mikhailov <iv_an_ru@yahoo.com>
Date: Thu, 17 May 2001 00:34:52 -0700 (PDT)
Message-ID: <20010517073452.18805.qmail@web3606.mail.yahoo.com>
To: www-xml-query-comments@w3.org
Consider a matrix:


XQuery is fine for removal redundant rows and columns, for some sorting, data normalization etc.
But a) how to transpose the matrix? and b) how to return a main-diagonal vector A1 B2 C3 ... Xn?

I think that Core Function Library should include at least all basic LISP functions, including
mapcar-like functions and apply. (I think it's redundant to suggest list, nth, last, sublist and
In any LISP, I can transpose the matrix by expression (apply 'mapcar 'list my_matrix).
It should be easy to do the same in XQuery.

Iv An.

Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
Received on Thursday, 17 May 2001 03:34:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:21:13 UTC