Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Safe functions for datatype introspection.
Show
showsTree :: (a -> ShowS) -> RadixTree a -> ShowS Source #
\(\mathcal{O}(n)\). Shows the internal structure of the tree.
Validate
Whether the tree is well-formed.
Reason for why the tree is considered malformed.
ZeroPrefix | Prefix is |
PrefixBelow Prefix Prefix | Prefix below diverges from the prefix above. |
KeyBelow Prefix Key | Key diverges the prefix above. |
MalformedBin Prefix | One of the branches is empty. |
EmptyByteArray | Empty |
UncompressedTip |
|