Re: [ANN] Method-fn: augmented Java methods as functions

2013-08-10 Thread Marshall Bockrath-Vandegrift
Shantanu Kumar writes: > Wow! This is neat. Congratulations on the release. Thank you! > A minor observation: It may help some readers if you mention on the > README that it may not work with lein-try (as I found) and that the > user must `require` the ns first: (require '[method.fn]) Good poi

Re: [ANN] Method-fn: augmented Java methods as functions

2013-08-10 Thread Shantanu Kumar
Wow! This is neat. Congratulations on the release. A minor observation: It may help some readers if you mention on the README that it may not work with lein-try (as I found) and that the user must `require` the ns first: (require '[method.fn]) Shantanu On Saturday, 10 August 2013 21:58:43 UTC+

[ANN] Method-fn: augmented Java methods as functions

2013-08-10 Thread Marshall Bockrath-Vandegrift
Do Clojure’s built-in methods for bridging the distinction between functions and host platform methods seem clunky to you? Then the method-fn library may hold the solution!: (require 'method.fn) (map #mf/i String/trim [" a" "b "]) ;; Look ma, no reflection! (map #mf/s Math/log (ra