Composite Pattern with Object Expressions

An example of the composite pattern implemented simply with functions and object expressions