Orpheus
Orpheus copied to clipboard
Accept and discard empty arrays in lpush
An lpush (or any other list insertion) should simply be discarded on empty arrays as arguments. This saves annoying checks like activities.lpush(activities) if activities.length
throughout the code.