Anonymous user
Modulinos: Difference between revisions
→{{header|Clojure}}
(Added Clojure (whew!)) |
|||
Line 128:
Clojure has a function -main which will run in only three cases.
<lang sh>$ clj -m scriptedmain
Main: The meaning of life is 42</lang>
<lang sh>$ ./scriptedmain.clj
Main: The meaning of life is 42</lang>
<lang sh>$ java -cp ~/Library/Clojure/lib/clojure.jar:. scriptedmain
|