Skip to content

Instantly share code, notes, and snippets.

@coltnz
Created September 25, 2014 07:12
Show Gist options
  • Save coltnz/4818581be0231207a046 to your computer and use it in GitHub Desktop.
Save coltnz/4818581be0231207a046 to your computer and use it in GitHub Desktop.
;; FLATLAND/USEFUL bug ?
;; when hayt gets required it requires flatland.useful.map where the update fn has disappeared
;; so it fails to load
;; we patch a no-op since we don't use update
;; prob something to do with intro of clojure.core/update but god knows how
(require '[flatland.useful.map])
(in-ns 'flatland.useful.map)
(defn flatland.useful.map/update
[m key f & args]
(apply clojure.core/update m key f args))
(ns my-namespace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment