Re: Clojure in production

2013-06-13 Thread rod naph
I work at boxuk.com, we have some internal apps, and a few small production services in Clojure. On Monday, June 10, 2013 10:47:25 PM UTC+1, Plinio Balduino wrote: > > Hi there > > I'm writing a talk about Clojure in the real world and I would like to > know, if possible, which companies are us

clojure.java.jdbc 0.3.0 column name handling

2013-12-21 Thread rod naph
with the new release of java.jdbc 0.3.0 i can't quite work out how the quoting support for column names is supposed to work. i can see the strategy for the deprecated namespace, but the new core namespace only contains a function "quoted" - which isn't used directly at all. so what's the deal

Re: clojure.java.jdbc 0.3.0 column name handling

2013-12-28 Thread rod naph
That's perfect, thanks for taking the time to write back. Look forward to the updated documentation, would be a big help. :) On Saturday, December 21, 2013 7:56:59 PM UTC, rod naph wrote: > > with the new release of java.jdbc 0.3.0 i can't quite work out how the > quoting

Re: Multiple replacements in string using a map

2013-04-22 Thread rod naph
I scratched my itch with... (defn map-replace [m text] (reduce (fn [acc [k v]] (s/replace acc (str k) (str v))) text m)) Hope it helps. On Tuesday, April 23, 2013 5:55:51 AM UTC+1, Mond Ray wrote: > > Man - you guys are good and *fast*. > > I was pootling around with a version that w

Multi Method Namespace Structure

2012-09-16 Thread rod naph
Hi, I'm trying to use multi-methods, with the implementations broken over a few namespaces, but am a little confused as to the best way to structure this. At the moment i have this in two namespaces/files... (ns jiff.vcs) (defmulti jiff-seq :vcs) (ns jiff.svn (:use jiff.vcs)) ;; svn impl... B