Generic derivation for ToRefTree
A RefTree represents the object tree of an immutable data structure.
A RefTree represents the object tree of an immutable data structure. Mutable data can be represented as well, as long as it is acyclic.
A RefTree has three subtypes:
null
.This type is mainly geared towards visualization of structural sharing, however in some cases the representation can be simplified for the benefit of the visualization. For example, reftree.contrib.SimplifiedInstances contains “black box” representations of List, Seq and Map that do not expose the internal structure.
A RefTree for a type A
can be obtained using the ToRefTree typeclass.
Syntax sugar for converting data to RefTree
A typeclass for mapping data to RefTree representations
A typeclass for mapping data to RefTree representations