
A flat list which acts as a nested list with nesting controlled by dots.
Source:R/0_implicit_nested_list.R
implicit_nested_list.RdAll values are stored in a one-dimensional named list. Dots in names define virtual groups (the "implied" nesting) of the vector.
Usage
implicit_nested_list(x = list())
explicit_nested_list(flat)Details
Named vectors or lists are recursively flattened on construction and assignment to keep the underlying structure fully one-dimensional. Reading a group returns an ordinary named vector if every immediate child is a scalar of the same atomic type; otherwise it returns an ordinary list.
Simplification is strict: integer + double and numeric + character stay lists.