Yonaba/Moses — pull request #6 by jkallunki (2014-05-25 11:58:05+00:00)
Title: _.flatten shallow parameter now works as expected

The documentation says that _.flatten() should flatten the first level of the array when the "shallow" parameter is set to true. Instead of that, it was doing nothing but simply returning the input array. Now it works as documented, for example {1, {2, {3}}} becomes {1, 2, {3}}