Skip to content

Commit 94e4476

Browse files
author
Zheyuan Chen
authored
Update README.md
remove confusing instruction in README.md
1 parent 1cd4368 commit 94e4476

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,8 @@ lmap = compose(list, map)
107107
lmap(lambda x: x ** 2, range(10))
108108
```
109109

110-
Let's try some math.
111-
```
112-
f(x) = x^2 + 1
113-
g(x) = 2x - 1
114-
h(x) = -2x^3 + 3
115-
```
116-
We want to represent `f * g * h` in a program, i.e. `fn(x) = f(g(h(x)))`
110+
Let's say we want to represent `f * g * h` in a program, i.e. `fn(x) = f(g(h(x)))`
111+
117112
``` python
118113
f = lambda x: x**2 + 1
119114
g = lambda x: 2*x - 1

0 commit comments

Comments
 (0)