From bbe1819e70ce8b25a69ab5c58fe080da22be5ee3 Mon Sep 17 00:00:00 2001 From: Jason Staten Date: Thu, 12 Dec 2019 21:09:32 -0700 Subject: [PATCH] first clj --- .gitignore | 5 +++++ clojure/deps.edn | 1 + clojure/src/one/core.cljs | 7 +++++++ clojure/src/one/zoop.clj | 3 +++ 4 files changed, 16 insertions(+) create mode 100644 clojure/deps.edn create mode 100644 clojure/src/one/core.cljs create mode 100644 clojure/src/one/zoop.clj diff --git a/.gitignore b/.gitignore index c8d12e1..3d6705f 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,8 @@ target/ project/metals.sbt *.beam +.cljs_nashorn_repl +.cpcache +nashorn_code_cache +out +.nrepl-port diff --git a/clojure/deps.edn b/clojure/deps.edn new file mode 100644 index 0000000..68d5ba3 --- /dev/null +++ b/clojure/deps.edn @@ -0,0 +1 @@ +{:deps {org.clojure/clojurescript {:mvn/version "1.10.597"}}} \ No newline at end of file diff --git a/clojure/src/one/core.cljs b/clojure/src/one/core.cljs new file mode 100644 index 0000000..6b07eb7 --- /dev/null +++ b/clojure/src/one/core.cljs @@ -0,0 +1,7 @@ +(ns one.core) +(defn hello [] + (println "hey")) +(defn cool [ ] + (str "dude")) +(defn greet [name] + (str "hello " name)) \ No newline at end of file diff --git a/clojure/src/one/zoop.clj b/clojure/src/one/zoop.clj new file mode 100644 index 0000000..837bda1 --- /dev/null +++ b/clojure/src/one/zoop.clj @@ -0,0 +1,3 @@ +(ns one.zoop) + +(println "yes") \ No newline at end of file