kachayev / fn.py

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

Fix #45 and #47 #51

Closed microamp closed 10 years ago

microamp commented 10 years ago

This should fix #45 and #47.

The latter appears to be a bug in the PyPy version on Traivs (PyPy 2.2.1 with GCC 4.6.3) which seems to have been addressed in a later version. I could not reproduce the error with PyPy 2.3.0-alpha0 running locally. The alternative solution in the pull request is not as elegant as collections.namedtuple, but it would help us move on without having to wait for the next stable release of PyPy.

In addition to the above two, I've

microamp commented 10 years ago

Please note that slots have been added to the finger trees now.

microamp commented 10 years ago

@kachayev, have you had a look at this by any chance?

It'd be good to get over this hump. I see five other pull requests failing to pass because of #45 and #47.

kachayev commented 10 years ago

@microamp unfortunately I don't have much time just now, I'll take a look tomorrow and try to manage all opened RPs/bugs.

kachayev commented 10 years ago

Ok, I'm merging this, thanks for help! I wonder what the problem is with namedtuple(s). Will take some time to investigate this issue deeper.