Simple math functions should support sequences

2009-02-03 Thread stuhood
Functions like (+), (*), (-), (and probably more) should support sequences as parameters. The current way to accomplish this (without implementing your own sum using reduce) seems to be: > (apply + (map #(. Math pow 2 %) (range 10))) ... which has to generate the sequence first. Instead, you sho

Synchronization Benchmarks

2009-01-15 Thread stuhood
ll me how I might make Clojure more competitive. http://github.com/stuhood/clojure-conc/tree/master The benchmark contains 4 bi-directional dictionary implementations: * MDict - Java implementation using the synchronized keyword, * RWDict - Java implementation using a ReadWriteLock, * CL