I'm trying to transform a tree of TypedTags into another tree of TypedTags. Most of the time it works fine, but I'm unable to transform anything that comes in the shape of a SeqFrag. The SeqFrag contents is hidden in a private field xs. I could use reflection to read xs, but I'd rather not.
SeqFrags are created implicitly when a Seq of Frags needs to be a Frag. I could also use dummy span tags and vargargs expansion with _* for my Seqs, but I'm looking for a cleaner solution. Making SeqFrag.xs public could perhaps do the trick, or are there other ways to get the SegFrag contents?