python-effect / effect

effect isolation in Python, to facilitate more purely functional code
372 stars 16 forks source link

add a `fold_effect` function #51

Closed radix closed 9 years ago

radix commented 9 years ago

Based on the conversation with @tomprince on #46, I decided to add a fold_effect function, and I'd like to consider using it to implement sequence.

New test is in py.test native format.

radix commented 9 years ago

Okay, I think this is ready for consideration.

tomprince commented 9 years ago

A few minor comments, then merge.

radix commented 9 years ago

Thanks for the review @tomprince :)