kachayev / fn.py

Functional programming in Python: implementation of missing features to enjoy FP
Other
3.35k stars 204 forks source link

Test+Fix `iters.flatten` python2 unicode support. #78

Open Digenis opened 8 years ago

Digenis commented 8 years ago

is_string_or_bytes checks for str instances which is correct only for python3 while in python2 the right type is basestring.

Fixes #73

Bug demo in the build after adding tests.