Re: Threading Macro

[email protected]
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.