What are the allowed characters in a Clojure keyword?

后端 未结 4 2130
挽巷
挽巷 2021-02-19 01:27

I am looking for a list of the allowed characters in a clojure keyword. Specifically I am interested to know if any of the following characters are allowed: -

4条回答
  •  -上瘾入骨i
    2021-02-19 02:14

    starting in 1.3 you can use ' anywhere not starting a keyword. so :arthur's-keyword is allowed now :)

    I use the keywords :-P and :-D to spice up my code occasionally (as synonyms for true and false)

提交回复
热议问题