Skip to content
Permalink
Browse files

Expose intern-var

  • Loading branch information...
swlkr committed Mar 12, 2019
1 parent db49051 commit d2ac0343ec0dae0a711fc8524726b64958199ad5
Showing with 8 additions and 1 deletion.
  1. +2 −1 src/coast.clj
  2. +6 −0 src/coast/utils.clj
@@ -79,7 +79,8 @@
queue]

[coast.utils
uuid]
uuid
intern-var]

[coast.time
now]
@@ -179,3 +179,9 @@
(keep #(replace-pattern s %))
(first))
s))

(defn intern-var [name value]
(intern *ns*
(with-meta (symbol name)
(meta value))
value))

0 comments on commit d2ac034

Please sign in to comment.
You can’t perform that action at this time.