Re: better flatten()?
- Posted by ghaberek (admin) Jul 27, 2015
- 1516 views
petelomax said...
I'm not absolutely against the idea of two functions, but I'm not convinced we really need that split yet either.
It seemed reasonable to me that flatten_all() always returned a sequence of atoms, but flatten_seq() handled strings gracefully.
-Greg