How to disable Clojure assertions, including preconditions?
问题 What are some good ways to disable Clojure assertions (including preconditions and postconditions) in the REPL? For an arbitrary Leiningen profile? 回答1: Per https://github.com/technomancy/leiningen/blob/master/sample.project.clj#L286 Set :global-vars to {*assert* false} in your profiles.clj . You can put the above setting in whatever Leiningen profiles you want. 来源: https://stackoverflow.com/questions/24949418/how-to-disable-clojure-assertions-including-preconditions