update readme to use new export syntax

This commit is contained in:
2024-10-28 19:37:10 -04:00
parent b00e1fd0b4
commit db08c6d0b5

View File

@@ -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