Mercurial > coderloop
diff src/hello_world.clj @ 0:307a81e46071 tip
initial committ
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Tue, 18 Oct 2011 01:17:49 -0700 |
parents | |
children |
line wrap: on
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/hello_world.clj Tue Oct 18 01:17:49 2011 -0700 1.3 @@ -0,0 +1,11 @@ 1.4 +(ns coderloop.hello-world 1.5 + (:use rlm.shell-inspect)) 1.6 + 1.7 +(defn hello-world [] 1.8 + (println "Hello World!")) 1.9 + 1.10 +(if (rlm.shell-inspect/command-line?) 1.11 + (hello-world)) 1.12 + 1.13 + 1.14 +