Created
March 26, 2017 00:48
-
-
Save chpill/5e529912a2b10d910d3a839bdfcc4b17 to your computer and use it in GitHub Desktop.
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
([to xform from] | |
(if (instance? clojure.lang.IEditableCollection to) | |
(with-meta | |
(persistent! (transduce xform conj! (transient to) from)) | |
(meta to)) | |
(transduce xform conj to from))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment