Automatically generate Clojure function proxies for java.lang.Math static methods.
Add this to your project.clj
if you're using Leiningen:
[alandipert/mathemagician "0.0.1"]
Then, in the namespace you want math functions in:
(ns your-ns
(:use [mathemagician :only (abs)]))
(abs -3) ;=> 3
Thanks to Patrick Brown for the idea, Jon Distad for pairing with me on the initial implementation, and to the Durham Clojure Roadshow class for their participation.
Copyright (C) 2012 Alan Dipert
Distributed under the Eclipse Public License, the same as Clojure.
Can you improve this documentation? These fine people already did:
Alan Dipert & Gabriel HornerEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close