File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ __Table of Contents__
15
15
* [ Purity] ( #purity )
16
16
* [ Idempotent] ( #idempotent )
17
17
* [ Arity] ( #arity )
18
+ * [ IO (TODO)] ( #io-todo )
18
19
* [ Higher-Order Functions (HOF)] ( #higher-order-functions-hof )
19
20
* [ Closure (TODO)] ( #closure-todo )
20
21
* [ Partial Application] ( #partial-application )
@@ -78,8 +79,9 @@ This is a side effect!
78
79
Or:
79
80
80
81
``` python
81
- numbers = []
82
- numbers.append(1 ) # mutates the `numbers` array
82
+ >> > numbers = []
83
+ >> > numbers.append(1 ) # mutates the `numbers` array
84
+ >> >
83
85
```
84
86
85
87
@@ -236,6 +238,12 @@ We can create our own __HOF__, see the example below:
236
238
>> >
237
239
```
238
240
241
+
242
+ ## IO (TODO)
243
+
244
+ TODO
245
+
246
+
239
247
## Closure (TODO)
240
248
241
249
A closure is a way of accessing a variable outside its scope.
You can’t perform that action at this time.
0 commit comments