Fork me on GitHub
#clojure-dev
<
2019-05-26
>
gfredericks23:05:57

curiously there are ^CharSequence type hints all over clojure.string, and yet most of the functions just call .toString on the args, such that you can actually pass anything that's not nil

gfredericks23:05:05

it's not universal though; with (clojure.string/includes? s1 s2), s1 can be any type, while s2 must be a CharSequence