Tried higher order functions and how to apply polymorphism in CLojure