Re: ANN: pallet.thread-expr, a macro lib for use with -> argument threading

2011-04-26 Thread George Jahad
Agreed; these do look real interesting. I keep meaning to try them. I've just been a little busy lately;) On Apr 22, 1:47 pm, Nicolas Buduroi wrote: > This is a very interesting set of macros, I'll certainly use some of them. > In fact I think this library should at least make it to clojure.cont

Re: ANN: pallet.thread-expr, a macro lib for use with -> argument threading

2011-04-22 Thread Nicolas Buduroi
This is a very interesting set of macros, I'll certainly use some of them. In fact I think this library should at least make it to clojure.contrib! BTW, there's a small error in the when-not-> docstring, the result should be 1. -- You received this message because you are subscribed to the Goo

ANN: pallet.thread-expr, a macro lib for use with -> argument threading

2011-04-21 Thread Hugo Duncan
By popular demand (well at least two requests), pallet.thread-expr is now an independent lib, extracted from pallet. The library provides a number of macros for use within a -> expression. A couple of examples: (-> 2 (arg-> [x] (* (inc x => 6 (-> 1 (for-> [x [1 2 3]] (+ x)))