Re: Threading Macro
| Newsgroups | gmane.lisp.scheme.bigloo |
|---|---|
| Organization | Inria |
| Message-ID | <[email protected]> |
> - From what I understand, the purpose of the threading macros in clojure > is to increase readability of code, as to simulate an imperative code. > In clojure, for instance > > (+ (- (* 3 4) 20) 10) > > becomes > > (-> (* 3 4) > (- ,, 20) > (+ ,, 10)) Ah, I see. It's a kind of generalized infix operator. That's fun. -- Manuel