From e9ed8248e4e63a7872f99ab31d777a6b54ca9740 Mon Sep 17 00:00:00 2001 From: Andinus Date: Sun, 5 Sep 2021 22:27:37 +0530 Subject: Clojure: Two Fer: Use multi-arity function call --- clojure/two-fer/src/two_fer.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clojure/two-fer/src/two_fer.clj b/clojure/two-fer/src/two_fer.clj index 5aacbf2..a9d18d1 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 - ([] "One for you, one for me.") + ([] (two-fer "you")) ([name] (str "One for " name ", one for me."))) -- cgit 1.4.1-2-gfad0