TreeLoc#cobind? Or something like it, would have to do some twiddling to figure it out for sure, but I would start there.
I would think this has been done before but I've been looking around for a straightforward solution and haven't come across anything yet.The problem is this:I have a Tree[A] and I want to take all the children of a node designated by a certain path P1 and move them to another node designated by path P2. I want this to be recursive so if the children have children, they are moved as well.Can anyone point me in the right direction?--
You received this message because you are subscribed to the Google Groups "scalaz" group.
To view this discussion on the web visit https://groups.google.com/d/msg/scalaz/-/vSSsvUp_OlMJ.
To post to this group, send email to sca...@googlegroups.com.
To unsubscribe from this group, send email to scalaz+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scalaz?hl=en.