How to elegantly flatten a list
The problem   Given any list xs, where xs could contain other lists or any non-list values,...
Tags: javascript, recursion, functional