jackfirth / pyramda

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

add pipe #6

Closed ccorcos closed 8 years ago

jackfirth commented 8 years ago

Thank you!

Build is failing because Coverage.py no longer supports 3.2. I'll fix the CI script, then merge this. Could you add unit tests please? Coveralls ought to pass then. Additionally, add it to the list of functions in the README.

ccorcos commented 8 years ago

there are tests? where are those?

jackfirth commented 8 years ago

Each function has a test file adjacent to it in the same directory. For example the compose.py file is right next to a compose_test.py file. To write a test, just write a function that includes test in its name somewhere and it will be run. The pyramda.private.asserts module has some helpers for simple tests.

ccorcos commented 8 years ago

oh interesting, how did I miss those!

ccorcos commented 8 years ago

@jackfirth good to go

jackfirth commented 8 years ago

Looks great, thanks again :)

ccorcos commented 8 years ago

Np. I have a bunch more coming ;)

jackfirth commented 8 years ago

Fantastic! Keep 'em coming :+1: