pfun icon indicating copy to clipboard operation
pfun copied to clipboard

Functional, composable, asynchronous, type-safe Python.

Results 15 pfun issues
Sort by recently updated
recently updated
newest added

Currently each effect is interpreted using its own process and thread pools. It would be preferable to enable the caller to control the lifecycle of these pools. Concretely, we could...

enhancement

When using `pfun.http` (pfun 0.13.1), I get the following deprecation warning: ``` .../pfun/http.py:104: DeprecationWarning: read_timeout is deprecated, use timeout argument instead ```

enhancement

Currently, curry instances returned from decorating methods with `curry` doesn't eliminate the `self` argument, which issues a type error when trying to call a curried method: ```python from pfun import...

enhancement
MyPy

The `lens` mypy plugin hook currently doesn't work with generic types, eg in: ```python from typing import List [0] | lens(List)[0]

enhancement
MyPy

The documentation still has a few phrases that are left from a previous version of the `Effect` api. While not strictly incorrect, they can be made more clear. Moreover, the...

documentation
enhancement

A `mappable` type is something that implemets `__map__(self, f)`. A `chainable` type is something that implements `__chain__(self, f)`. A type `T` that implements both can be used in `do` expressions...

enhancement

E.g ```python from typing import TypeVar from pfun import compose A = TypeVar('A') def f(a: A) -> A: pass def g(a: int) -> str: pass compose(f, g) # error: Cannot...

bug
MyPy

Getting this error before the fix: AttributeError: module 'pfun.console' has no attribute 'print'

I installed the package on a freshly created environment and the first import raises an import error. ```>>> from pfun.functions import curry Traceback (most recent call last): File "", line...

Bumps [pycares](https://github.com/saghul/pycares) from 4.1.2 to 4.2.0. Release notes Sourced from pycares's releases. 4.2.0 What's Changed dependency update to c-ares by @​aviadhahami in saghul/pycares#170 New Contributors @​aviadhahami made their first contribution...

dependencies