Correct README typo.

This commit is contained in:
Sage Vaillancourt 2022-10-12 00:14:08 +00:00
parent ca16fa60ab
commit e05b5648ae
1 changed files with 3 additions and 3 deletions

View File

@ -15,13 +15,13 @@ PebbLisp includes several built-ins functionalities.
(def symbol object) (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! > 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!