Skip to content

Instantly share code, notes, and snippets.

@frenchy64
Created April 1, 2014 21:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frenchy64/9923233 to your computer and use it in GitHub Desktop.
Save frenchy64/9923233 to your computer and use it in GitHub Desktop.
(defn disj
([set] set)
([set key]
(when set
(. set (disj key))))
([set key & ks]
(when set
(let [ret (disj set key)]
(if ks
(recur ret (first ks) (next ks))
ret)))))
Vim(let):E716: Key not present in Dictionary: &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment