update readme to use new export syntax
This commit is contained in:
@@ -64,12 +64,12 @@ You can introduce a variable to global scope using the `export` builtin function
|
|||||||
```
|
```
|
||||||
# A very useful constant
|
# A very useful constant
|
||||||
= pi 3.1415926
|
= pi 3.1415926
|
||||||
export ["pi"]
|
export pi
|
||||||
|
|
||||||
# Some more useful constants
|
# Some more useful constants
|
||||||
= e 2.71828
|
= e 2.71828
|
||||||
= phi 1.6180339887
|
= phi 1.6180339887
|
||||||
export ["e" "phi"]
|
export (e phi)
|
||||||
```
|
```
|
||||||
|
|
||||||
## Functions
|
## Functions
|
||||||
|
|||||||
Reference in New Issue
Block a user