kachayev/fn.py

Make flatten work for any nested iterables (not just nested lists)

calebsmith opened this issue · 1 comments

This would exclude strings as the implementation already does (so we don't yield each char of the string).

Merged pull request with minor adjustments. Thanks!