summary refs log tree commit diff stats
path: root/clojure/reverse-string/src/reverse_string.clj
diff options
context:
space:
mode:
Diffstat (limited to 'clojure/reverse-string/src/reverse_string.clj')
-rw-r--r--clojure/reverse-string/src/reverse_string.clj5
1 files changed, 5 insertions, 0 deletions
diff --git a/clojure/reverse-string/src/reverse_string.clj b/clojure/reverse-string/src/reverse_string.clj
new file mode 100644
index 0000000..233bf9e
--- /dev/null
+++ b/clojure/reverse-string/src/reverse_string.clj
@@ -0,0 +1,5 @@
+(ns reverse-string)
+(require '[clojure.string :as s])
+
+(defn reverse-string [s]
+  (s/reverse s))