Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
(defn if-user [user f]
(let [to (@clients user)]
(if to
(do
(f to)
true)
false)))
(defn if-not-user [user f]
(let [to (@clients user)]
(if-not to
(do
(f)
true)
false)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.