Add ^string hints

Description

There exist functions that are not automatically inferred as returning strings. Hinting these would help in the event that their return values are passed to numeric functions, or for code gen with CLJS-2865.

The set I believe needs explicit hints comprises:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 subs pr-str prn-str print-str munge-str clojure.string/reverse clojure.string/replace clojure.string/replace-first clojure.string/join clojure.string/upper-case clojure.string/lower-case clojure.string/capitalize clojure.string/trim clojure.string/triml clojure.string/trimr clojure.string/trim-newline clojure.string/escape

Environment

None

Status

Assignee

Mike Fikes

Reporter

Mike Fikes

Labels

Approval

Accepted

Patch

Code

Priority

Major
Configure