Last active
August 29, 2015 13:57
-
-
Save wunki/9465858 to your computer and use it in GitHub Desktop.
Type annotation for rename-keys
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ann ^:no-check clojure.set/rename-keys [(Map Any Any) (Map Keyword Keyword) -> (Map Any Any)]) | |
;; Type Error (gibbon/service/postgres.clj:23:7) Type mismatch: | |
;; Expected: (Map Any Any) | |
;; Actual: (TFn [[a :variance :covariant] [b :variance :covariant]] (APersistentMap a b)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment