diff options
author | Andinus <andinus@nand.sh> | 2021-09-05 22:27:37 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2021-09-05 22:27:37 +0530 |
commit | e9ed8248e4e63a7872f99ab31d777a6b54ca9740 (patch) | |
tree | e0105916209c03134751e15b95d0f600c589d8e6 /clojure | |
parent | fec4b82917ccb41362c3170e1b71f9dbf98fb997 (diff) | |
download | exercism-e9ed8248e4e63a7872f99ab31d777a6b54ca9740.tar.gz |
Clojure: Two Fer: Use multi-arity function call
Diffstat (limited to 'clojure')
-rw-r--r-- | clojure/two-fer/src/two_fer.clj | 2 |
1 files changed, 1 insertions, 1 deletions
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."))) |