Correct README typo.
This commit is contained in:
parent
ca16fa60ab
commit
e05b5648ae
|
@ -15,13 +15,13 @@ PebbLisp includes several built-ins functionalities.
|
|||
(def symbol object)
|
||||
```
|
||||
|
||||
As an example, to store a long greeting message into the short symbol `g`:
|
||||
As an example, to store a long greeting message into the short symbol `greeting`:
|
||||
|
||||
```
|
||||
(def g "Hello, how are you today?")
|
||||
(def greeting "Hello, my dear friend! How are you today?")
|
||||
```
|
||||
|
||||
`g` will then evaluate to `"Hello, how are you today"`.
|
||||
`greeting` will then evaluate to `"Hello, my dear friend! How are you today?"`.
|
||||
|
||||
> Remember that defining an object with the same symbol as an object that already exists is possible, but deletes the original object from the environment!
|
||||
|
||||
|
|
Loading…
Reference in New Issue