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

Andy Fingerhut made changes -
Field Original Value New Value
Attachment clj-1042-negative-subs-patch2.txt [ 11457 ]
Ian Eure made changes -
Andy Fingerhut made changes -
Attachment clj-1042-negative-subs-patch2.txt [ 11457 ]
Stuart Halloway made changes -
Resolution Declined [ 2 ]
Status Open [ 1 ] Closed [ 6 ]

People

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

Dates

  • Created:
    Updated:
    Resolved: