Why does Clojure have “keywords” in addition to “symbols”?

前端 未结 6 1811
暖寄归人
暖寄归人 2020-12-12 11:02

I have a passing knowledge of other Lisps (particularly Scheme) from way back. Recently I\'ve been reading about Clojure. I see that it has both \"symbols\" and \"keywords\"

6条回答
  •  独厮守ぢ
    2020-12-12 11:31

    Keywords are symbols that evaluate to themselves, so you don't have to remember to quote them.

提交回复
热议问题