I am a pretty decent programmer in Java, however I am new to programming in Clojure.
In Java, to force an exit of a program, the code used is System.exit(0)
. Is there any equivalent to this code is Clojure?
Given that part of the attractiveness of Clojure is that you can use Java class libraries, why not just do:
(System/exit 0)