title: Efficient way to remove empty lists from lists?
body: <p>What is the most efficient way to remove all empty <code>List[]</code> objects from all of the <code>List</code>s that appear in an expression at different levels? The empty <code>List[]</code> should be removed only if it is an element of another <code>List</code> itself.</p>