Created
October 24, 2017 15:20
-
-
Save HakimCassimallyBBC/d625f13bf40576f68ee85aaa73963d34 to your computer and use it in GitHub Desktop.
clojure zipper attributes?
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
(defn nodes-to-bequeath [parent] | |
(xml-> (zipper/xml-zip parent) | |
zipper/children | |
#(if (get-in % [:attrs ::pm/inherit]) % nil))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment