clojure - LightTable REPL returns nil instead function return value -


why lighttable not show functions results instead returns nil?

(defn greet   ([] (greet "you"))   ([name] (print "hello" name))) #'user/greet  (greet) nil (greet "world") nil 

actually, not lighttable issue, 'print' function returns nil. can see when type "hello, world" in clojure repl, why 'nil'?


Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

Bubble Sort Manually a Linked List in Java -

asp.net mvc - SSO between MVCForum and Umbraco7 -