Monday, June 24, 2013

Hello World!

The question:

Write a function which returns a personalized greeting.
test not run
(= (__ "Dave") "Hello, Dave!")
test not run
(= (__ "Jenn") "Hello, Jenn!")
test not run
(= (__ "Rhea") "Hello, Rhea!")



The solution:

(fn [name]
     (str "Hello, " name "!")
)



Notes:
str is a function to 

No comments:

Post a Comment