Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Data.Zebra.Word.Debug
Description
Safe functions for datatype introspection.
Show
Validate
Whether the tree is well-formed.
Reason for why the tree is considered malformed.
Constructors
ZeroPrefix | Prefix is |
PrefixBelow Prefix Prefix | Prefix below diverges from the prefix above |
KeyBelow Prefix Key | Key diverges the prefix above |
FoundNil | Nil is in the tree. |
ZeroKey | Tip has a value of zero despite not being the root. |
NoSwitch Color Key | Key has the same color as the key to the left of it. |