Clojure

[PATCH] Allow negative substring indices for (subs)

Details

  • Type: Enhancement Enhancement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Declined
  • Affects Version/s: Release 1.5
  • Fix Version/s: None
  • Component/s: None
  • Labels:
  • Patch:
    Code and Test

Description

This adds Python-style negative string indices for (subs), e.g.:

(subs "foo bar" -3) ;; -> "bar"

Activity

People

  • Assignee:
    Unassigned
    Reporter:
    Ian Eure
Vote (0)
Watch (3)

Dates

  • Created:
    Updated:
    Resolved: