The signature for clojure.string function split-lines is:
(split-lines s)
And the signature for split is:
(split s re)
(split s re limit)
I think it would be nice to add this overload that accepts a limit to split-lines as well, just as it is for split:
(split-lines s limit)
My use case is often to split on lines but not to ignore trailing newlines. This requires passing -1 to limit. In those cases, I always need to switch back to using split and re-implement split-lines.