Tools for turning Elm values into KDL values
Encode a String into a value
Encode a integer into a value
Encode a float into a value
Encode a BigRational into a value
Encode a boolean into a value
The value #null
A KDL Node, containing arguments, properties, and children
Notably, this representation of nodes does not contain their name, only their
arguments, properties, and children. The name of the node will be encoded as
part of the document. If you wish to track a node's name as well, use the type
(String, Node).
A node without arguments, children, or properties
Encode a node with properties, but no children or arguments
Encode a node with arguments, but no children or properties
A fallback method for creating your own node encoders when you need a little more power.
A document with no nodes
Encode a document full of order-signifigant nodes
A document full of unique, order-insignifigant nodes
A KDL Value
These are the specific values used in argument and properties, like numbers and strings