|
|
|
|
|
by topper-123
1992 days ago
|
|
I'd like to have a chaining operator in Python, like R is getting. Then the example could be: > a |> zip(b) |> map(func1) |> filter(func2) |> forall(func3) The advantages would be that this would work with all lists/iterables, so no need to make a special types. |
|
In short: it's a lot more complicated than it seems, but I agree that this style makes this type of thing 1000x more readable.