(read-string "9") ; => 9. 读取后可以检查是否为数字: (defn str->int [str] (if (number? (read-string str)))). 我不确定clojure阅读器是否可以信任用户输入,因此 ...
確定! 回上一頁