fix why-be-pure python code
This commit is contained in:
parent
08fd9d332a
commit
a741d8d176
|
@ -17,6 +17,7 @@ Before we get into the why, we have to get into the what. Haskell is a purely fu
|
|||
n = 0
|
||||
|
||||
def f(x):
|
||||
global n
|
||||
n = n + x
|
||||
return n
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue
Block a user