Writing conditions on geometric coordinates

2011-05-28 Thread Brian Watkins
I often write code that deals with geometric coordinates and similar ordered n-tuples on homogenous bases. Lots of times I face the situation where I want to write a condition that says, "if these two regions overlap, then do something," or "if this function is satisfied over an axis ax+by=c or ov

Simple Type Inferencer For The Simply Typed Lambda Calculus

2011-05-28 Thread David Nolen
Apologies if you've already seen this, but I thought perhaps some people here might find this interesting. I ported a simple type inferencer for the simply typed lambda calculus from Prolog to Clojure. It's interesting because it shows how to port Prolog's impure facilities (==, !, var) to core.log

Re: swank-clj 0.1.0 - a refactored swank-clojure, with sldb support

2011-05-28 Thread Jason Wolfe
On May 23, 5:49 am, "Hugo Duncan" wrote: > On Sun, 22 May 2011 18:09:50 -0400, Jason Wolfe wrote: > > 1.  The usual repl entry point is not used, and so, e.g., (set! *warn- > > on-reflection* true) fails. > > Thanks, I raised an issue to track this   > https://github.com/hugoduncan/swank-clj/is

Re: macro says Can't use qualified name as parameter

2011-05-28 Thread jweiss
Oops, ignore the part about extracting the parameter name from the fn form. I meant to delete that part, I misunderstood your problem at first. I say just use functions - you don't need macros here. The boilerplate of typing "(fn [client] " multiple times is not enough to justify their use, IMO

Re: macro says Can't use qualified name as parameter

2011-05-28 Thread jweiss
On May 27, 1:46 pm, nil wrote: > I was looking > athttp://saucelabs.com/blog/index.php/2009/12/running-your-selenium-tes... > and in the comments, :Scott suggested that a macro could reduce some > of the boilerplate that you see here: > > (def test-google >   { >    :name "google" >    :test (f

Re: Matrix operation (a la numpy)

2011-05-28 Thread Andreas Kostler
I'm not 100% sure but I think Incanter has matrix ops. Andreas On 28/05/2011, at 7:15 PM, JuanManuel Gimeno Illa wrote: > I'm looking for a clojure library to perfomr matrix manipulation a la numpy. > The best candidate I've found is infer.matrix but I wonder if there is a > hidden jewel to dis

Matrix operation (a la numpy)

2011-05-28 Thread JuanManuel Gimeno Illa
I'm looking for a clojure library to perfomr matrix manipulation a la numpy. The best candidate I've found is infer.matrix but I wonder if there is a hidden jewel to discover. Anyone has other suggestions? Thanks, Juan Manuel -- You received this message because you are subscribed to the Goo