Re: generalize distinct

2010-02-22 Thread Eugen Dueck
22, 11:53 am, Wilson MacGyver wrote: > Any reason why you can't use > distinct? > > http://richhickey.github.com/clojure/clojure.core-api.html#clojure.co... > > On Feb 21, 2010 10:24 AM, "Eugen Dueck" wrote: > > Hi, > > Clojure is great! The gain in prod

generalize distinct

2010-02-21 Thread Eugen Dueck
Hi, Clojure is great! The gain in productivity from more low level languages like Java, but also more functional languages like Ruby and Common LISP etc. amazes me every day. Like how adding a simple "map" in front of the count here: (count colls) changes the code from counting the number of colle

Re: Using Clojure for complex database driven applications

2009-07-12 Thread Eugen Dueck
On Jul 12, 3:37 am, Meikel Brandmeyer wrote: > May I add your patch to clojureql? Sure. It is currently just a * copy-and-paste of oll files containing the word mysql * basically search-and-replace mysql => postgresql * small changes to the auto-inc and primary key stuff In case I want to make

Re: Using Clojure for complex database driven applications

2009-07-11 Thread Eugen Dueck
I wrote postgres support for clojureql. It's my first shot, but the demo runs through from start to finish. Of course you need postgres jdbc drivers, e.g. http://jdbc.postgresql.org/download/postgresql-8.4-701.jdbc4.jar * dk/bestinclass/clojureql/backend/postgresql.clj: (clojure.core/ns dk.