What does -> do in clojure?

前端 未结 6 1285
既然无缘
既然无缘 2021-02-01 04:02

I have seen the clojure symbol -> used in many places, but I am unsure as to what this symbol is called and does, or even whether it is part of standard clojure. Could someone e

6条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-01 04:45

    You can see for yourself:

    (macroexpand `(-> 42 inc dec))
    

提交回复
热议问题