Theoretically, yes, you could build this with Monads. But I'm not the one
to ask about that. :)
There's also something that Rich Hickey was working on last year called
"Pods" or "Cells" -- basically a new reference type that allows safe access
to a mutable object. As far as I know, the design
Could monads help me to build a pure functional Clojure interface for
this while the underlying DOM manipulations would be not pure?
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note tha
If you want to receive a DOM object from Java, manipulate it, and then
return a DOM object back to Java, without rebuilding it, you're probably
stuck manipulating it through the Java DOM APIs.
-Stuart Sierra
clojure.com
--
You received this message because you are subscribed to the Google
Grou
> It's not the DOM API, but take a look at Zippers as an efficient way to
> manipulate tree-like structures, including XML.
I can see how it could be used to walk the tree but I don't see how it
could be used to modify just a few branches / leafs in the tree.
Calling zip/root reconstructs the whol
It's not the DOM API, but take a look at Zippers as an efficient way to
manipulate tree-like structures, including XML.
Luke VanderHart's Clojure Conj talk on Zippers is
here: http://clojure.blip.tv/file/4503162/
-Stuart Sierra
clojure.com
--
You received this message because you are subscrib
Hello,
Is there a library to manipulate (create and modify) a XML DOM tree in
Clojure? If possible with the "classic" syntax (XML tags represented
as Clojure vectors.)
I need to keep an instance of a DOM tree in my program and modify it
and recreating the whole DOM tree every time would not be ef