Re: test-is nesting

2008-12-30 Thread Larrytheliquid
Thanks for the reply Stuart, I thought about similar things. I'm still not sure which approach is better myself, but let me clarify a few things. In the current design of test-is, every test must be attached to the :test metadata of a Var. That's why deftest currently requires a symbol, even a

test-is nesting

2008-12-29 Thread Larrytheliquid
;; Note: originally I was just going to write Stuart, but I think input from anybody on the list could be valuable, so I'm CC'ing Clojure Hi Stuart, I've been working on an RSpec-like library for Clojure called Specjure. It has gone through many iterations and the one that is currently up on

Re: Atoms

2008-12-04 Thread Larrytheliquid
One difference would be if a ref is already inside of a bigger transaction that failed to commit for other reasons. With atoms it seems like the transaction is implicitly isolated to the atom (instead of explicitly wrapping around a ref.) On Thu, Dec 4, 2008 at 9:26 PM, Mark Engelberg [EMAIL

let accepting a vector

2008-11-13 Thread Larrytheliquid
Is there a way to pass a vector to a function like let, rather than manually typing in the brackets? ;;; normal let (let [one 1] one) ;;; list let (def bindings-list '[one 1]) (list-let bindings-list one) -- Respectfully, Larry Diehl www.larrytheliquid.com

test syntax recommendations

2008-11-13 Thread Larrytheliquid
I'm porting RSpec to Clojure and would appreciate any syntax recommendations: http://paste.lisp.org/display/70313 -- Respectfully, Larry Diehl www.larrytheliquid.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups