Re: TMQL: Minor issue: Plurals for paths

Robert Cerny <[email protected]>
Newsgroups gmane.text.xml.xtm.general
Message-ID <[email protected]>
Am 05.03.2011 um 10:05 schrieb Robert Barta:

> While I have no strong inclinations here, I could think that
> 
>    t / occurrences   # list, collection
> 
> could mean something different from
> 
>    t / occurrence    # pick exactly one

I like this suggestion. I picked a similar approach in Topincs programming [1]. It makes consumption of an API (including virtual) easier if you know what is returned can be iterated over. Yet, querying is a different beast than programming, so i also agree with your next statement:

> Whether this is useful per se, and/or can be exploited in the TMQL
> semantics is a question to resolve.

Best,

Robert

[1] http://www.cerny-online.com/topincs/manual/programming#virtual-interface
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.