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:
Related notes:
[Arnaud]: Negative indexes in Path expressions
8 Dec 2014, 15:41:58RESOLUTION: 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