Antony Lee
unread,May 5, 2012, 3:45:27 AM5/5/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to clojure...@googlegroups.com
Hi,
I just discovered the project and I love it :-)
I started looking into untranslated.clj and found out that there were quite a few functions that, apparently, just needed to be lifted into core.clj and would work "as-is", e.g. max-key and min-key... am I missing something?
Also, I wrote a Python version of rand, which would also bring rand-int in. I can set up a proper clone on github etc etc but since it's so short...
(require 'random)
(defn rand
"Returns a random floating point number between 0 (inclusive) and
n (default 1) (exclusive)."
{:added "1.0"
:static true}
([] (random/random))
([n] (* n (rand))))
The only thing that I found a bit bad is that core.clj apparently mixes tabs and spaces and that's really awful :-)
Anyways, I'll be happy to participate in the project!
Antony