jackfirth / pyramda

Python package supporting heavy functional programming through currying. Translation of the Ramda library from javascript to python.
MIT License
126 stars 10 forks source link

Add flatten function. Issue #3 #17

Closed skabbass1 closed 7 years ago

skabbass1 commented 7 years ago

Created a flatten instead of flatten_once function. The flatten function takes in a depth argument which dictates the depth of of the recursion

skabbass1 commented 7 years ago

@jackfirth this is the merge I did without a code review. Could you take a look and see if I missed something when implementing the flatten function? Thanks