Re: Meaning of "="

2012-12-11 Thread Nathan Matthews
For more "surprising" behaviour: (= #".*" #".*") Sent from my iPhone On 11 Dec 2012, at 13:32, "Jim foo.bar" wrote: > If you're looking for some truly unintuitive equality behavior check this > out: > > user=> (def pred (Boolean. false)) ;;not a primitive but an object > #'user/pred > use

Re: Idea around SCMs and Clojure

2012-07-18 Thread Nathan Matthews
Hi Nahuel, I think from a technical perspective something like Datomic would be a good fit, I think it has the right ingredients. If Git allows access to the lower layers, that may also be a good fit. One of my frustrations with source control systems is the way you end up repeating information

Re: Source code as metadata

2012-03-31 Thread Nathan Matthews
On 31 Mar 2012, at 00:00, Cedric Greevey wrote: > On Fri, Mar 30, 2012 at 6:17 PM, Lee Spector wrote: >> >> On Mar 30, 2012, at 5:11 PM, Cedric Greevey wrote: >>> >>> That opens a giant can of worms. How, for example, do we discover that >>> (partial * 2) and #(* % 2) and (fn [x] (* 2 x)) and

Re: Source code as metadata

2012-03-30 Thread Nathan Matthews
Hi, I wanted to serialise functions and send them over the network. The problem with serializable-fn is that it doesn't capture closures. I wrote some code which re-programmed the fn macro to capture the closures as well as the actual function form, and attach them as meta-data also on the ac