This commit is contained in:
Julien Palard 2022-05-23 11:10:44 +02:00
parent 69dd2ec55e
commit f967f25704
1 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@ Before `pipe 2`, the following were already valid:
It allows to **name things**, naming things make
code more readable so I wanted more of it.
It was probably underrated, I link to do this kind of things:
It was probably underrated, I like to do this kind of things:
```python
>>> isort = sort(key=lambda x: x**2)
@ -135,7 +135,7 @@ Remember I said currying? Yes you can abuse the syntax, but please don't:
```python
>>> from pipe import sort
>>> lines | grep()(invert=True)()(flags=re.I)()("https://")() | sort
['Just no an URL', 'http://detectportal.firefox.com/']
['Just not an URL', 'http://detectportal.firefox.com/']
```
As I like to say: « It's not because it's possible than you should do it ».
As I like to say: « It's not because it's possible that you should do it ».