fn.py
fn.py copied to clipboard
Functional programming in Python: implementation of missing features to enjoy FP
It just doesn't work. It expects Iterable from collections but this is not available. This log is from building `python310Packages.fn` with nix but should be reproducible on any python 3.10...
inspect.getargspec() is deprecated since Python 3.0, use inspect.getfullargspec() instead.
```python class F(object): def __rshift__(self, g): """Overload > operator for F instances""" return self.__class__.__compose(self.f, self.__ensure_callable(g)) ``` the operator `>>` is right shift and `
My worry is that this breaks backward compatibility because the `typing` module was added on Python 3.5 [1], so it would only work on Python 3.5 and above. We realized...
"Return" misspelled as "rerurn" ar [func.py, line 37](https://github.com/kachayev/fn.py/blob/master/fn/func.py#L37).
Active Fork?
Has anyone considered starting an active fork of this repo? I see it has been forked a number of times, but no forks are being actively maintained. I don't feel...
Hi, interesting library! Do you have a function to use-case reference? Something similar to https://ramdajs.com/docs Coming back to Python from javascript and it's a difficulty curve for new users if...
https://bugzilla.redhat.com/show_bug.cgi?id=1792991 https://github.com/kachayev/fn.py/blob/df53f5d6bf0e94a37f44f6be57d1c87c9b7a6c26/fn/iters.py#L2 Thanks for the library!
Closes #84