stringclojureclojure-contrib

Where did clojure.contrib.string/partition go?


Ok, I am mildly confused about the whole clojure.contrib reorganisation.

I identified clojure-contrib.string/partition as the function that I need. However the last commit is 4 years ago and apparently everything from clojure.contrib moved to individual repositories.

Supposedly clojure.contrib.string moved to clojure.string, well except the partition function. I just want to know if I am not overlooking something very obvious before I copy the old code into my project.


Solution

  • Yes indeed. It looks like that it was dropped during the migration to clojure.string namespace.

    If I were you, I will simply copy clojure.contrib.string/partition to my codebase.