Why LightTable does not show the functions results instead it returns nil?
(defn greet
([] (greet "you"))
([name] (print "Hello" name))) #'user/greet
(greet) nil
(greet "World") nil
Why LightTable does not show the functions results instead it returns nil?
(defn greet
([] (greet "you"))
([name] (print "Hello" name))) #'user/greet
(greet) nil
(greet "World") nil
Actually, that is not a LightTable issue, 'print' function returns nil. You can see When you type "hello, world" in Clojure REPL, why does it say 'nil'?