Define my own reader macro in clojure

前端 未结 2 1750
借酒劲吻你
借酒劲吻你 2021-02-15 09:56

I would like to define my own reader macro in clojure:

(read-string \"ßfoo\")
=> (some_func :foo)

Is it possible?

2条回答
  •  天涯浪人
    2021-02-15 10:58

    Currently, Clojure doesn't allow to create user defined reader macros. This might/might not change in the future.

提交回复
热议问题