ISSUE-104: Negative indexes in Path expressions


Negative indexes in Path expressions

LD Patch
Raised by:
Pierre-Antoine Champin
Opened on:
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?
Related Actions Items:
No related actions
Related emails:
  1. ldp-ISSUE-104 (pchampin): Negative indexes in Path expressions [LD Patch] (from on 2014-12-01)

Related notes:

[Arnaud]: Negative indexes in Path expressions

8 Dec 2014, 15:41:58

RESOLUTION: add negative indexes in Path expressions

Arnaud Le Hors, 9 Dec 2014, 01:40:18

Display change log ATOM feed

Chair, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <>.
$Id: 104.html,v 1.1 2015/08/17 04:43:06 denis Exp $