Clojure

Include drop, take, butlast from clojure.contrib.string (1.2) in clojure.string 1.3

Details

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

Description

From clojure.contrib.string 1.2, I have found myself using drop, take,
and butlast. (These are more than just wrappers for String/substring,
because they behave nicely when indices exceed the string length.) I
like these methods in part because they match the behavior of
corresponding sequence methods, but have better performance. This
makes optimizing (when needed) easier.

Activity

Matthew Lee Hinman made changes -
Field Original Value New Value
Attachment clj-826-add-take-drop-butlast.diff [ 10311 ]
Stuart Sierra made changes -
Fix Version/s Backlog [ 10035 ]
Affects Version/s Backlog [ 10035 ]
Affects Version/s Release.Next [ 10038 ]
Matthew Lee Hinman made changes -
Chouser made changes -
Waiting On thnetos
Approval Incomplete [ 10006 ]
Matthew Lee Hinman made changes -
Matthew Lee Hinman made changes -
Patch Code and Test [ 10002 ]
Approval Incomplete [ 10006 ] Test [ 10013 ]
Stuart Halloway made changes -
Resolution Declined [ 2 ]
Status Open [ 1 ] Closed [ 6 ]

People

Vote (3)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: