Fork me on GitHub
#clojure-dev
<
2015-08-24
>
jonas19:08:21

@alexmiller: With the additions to clojure.string namespace, would you consider a version of clojure.core/subs that would be (a) nil safe and (b) don’t throw IndexOutOfBounds if ‘end’ is larger than the length of the string? So you can do (subs a 0 100) instead of (subs a 0 (min 100 (count a)))?

jonas19:08:00

I just saw this has been discussed. Please ignore simple_smile