Introducing clj-numbers 26 Jan 2012
I've spent a decent chunk of my Chinese New Year holiday working on Project Euler problems in Clojure, and I've had a wonderful time. As I've been working through the problems I've accumulated large "utils" file full of functions that helped me solve one problem and that I thought would be useful for future problems.
Instead of squirreling those functions away, I decided to clean some of them up and publish them as a library for others to use. The result is clj-numbers (available as a Maven artifact on Clojars), a (for now) very small library of simple functions to do things like factor numbers, generate and test polygonal numbers, and a few other things.
I believe it's only compatible with Clojure 1.3.x+, but making it work with older versions should be no more complicated than removing the type hints.
I'll continue adding to it as I have time, and in the meantime, feedback is more than welcome!
- Next: Solving Pell's equations with the Chakravala method and Clojure
- Previous: Project Euler solutions in Clojure (4-6)

