ldp-ISSUE-104 (pchampin): Negative indexes in Path expressions [LD Patch]

ldp-ISSUE-104 (pchampin): Negative indexes in Path expressions [LD Patch]

http://www.w3.org/2012/ldp/track/issues/104

Raised by: Pierre-Antoine Champin
On product: LD Patch

ISSUE-102 suggests that Slice expressions accept negative index, following Python (and other languages)'s convention to address elements from the end of the list.

If we do that, shouldn't we also allow negative indexes in Path expressions, like:

  Bind ?lastlang   <#tim> / ex:preferredLanguages / -1 .

if only for the sake of consistency?

Received on Monday, 1 December 2014 16:09:16 UTC