ISSUE-104: Negative indexes in Path expressions

pchampin

Negative indexes in Path expressions

State:
CLOSED
Product:
LD Patch
Raised by:
Pierre-Antoine Champin
Opened on:
2014-12-01
Description:
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 [email protected] 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
See https://www.w3.org/2013/meeting/ldp/2014-12-08#resolution_4

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 <[email protected]>.
$Id: 104.html,v 1.1 2015/08/17 04:43:06 denis Exp $