Re: Simple Macros

2014-01-22 Thread Moritz Ulrich
guns writes: > On Tue 21 Jan 2014 at 07:33:43PM -0800, Alejandro Ciniglio wrote: > >> I was wondering if people had advice on when to write these sorts of >> macros vs. when to just use the trivial expansion in the code? (Or >> alternatively, what am I missing in this macro definition?) >> >> (de

Re: Simple Macros

2014-01-22 Thread guns
On Tue 21 Jan 2014 at 07:33:43PM -0800, Alejandro Ciniglio wrote: > I was wondering if people had advice on when to write these sorts of > macros vs. when to just use the trivial expansion in the code? (Or > alternatively, what am I missing in this macro definition?) > > (defmacro go-loop > "Lik

Simple Macros

2014-01-22 Thread Alejandro Ciniglio
Hi, I've been using clojure for a few months now, but I've tried to avoid writing my own macros in production code, because of the general warnings I've heard about misusing their power and the challenges I've run into with debugging them. I was looking through the core.async code, and I noti