From 27d42698a76605b0653474e8d0d0976b74cd2b88 Mon Sep 17 00:00:00 2001 From: Andinus Date: Sun, 5 Sep 2021 22:23:10 +0530 Subject: Clojure: Two Fer: Add solution --- clojure/two-fer/src/two_fer.clj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'clojure') diff --git a/clojure/two-fer/src/two_fer.clj b/clojure/two-fer/src/two_fer.clj index ab89be3..5aacbf2 100644 --- a/clojure/two-fer/src/two_fer.clj +++ b/clojure/two-fer/src/two_fer.clj @@ -1,5 +1,5 @@ (ns two-fer) -(defn two-fer [name] ;; <- arglist goes here - ;; your code goes here -) +(defn two-fer + ([] "One for you, one for me.") + ([name] (str "One for " name ", one for me."))) -- cgit 1.4.1-2-gfad0