diff options
| author | Baitinq <[email protected]> | 2025-01-18 23:34:35 +0100 |
|---|---|---|
| committer | Baitinq <[email protected]> | 2025-01-18 23:34:35 +0100 |
| commit | 8324d20970d0f38d1add50da51daa7011c5d1920 (patch) | |
| tree | 8f8995827dce38bb5a9a57b753178f36935e4c85 /examples | |
| parent | Feature: Add basic support for if statements (diff) | |
| download | pry-lang-8324d20970d0f38d1add50da51daa7011c5d1920.tar.gz pry-lang-8324d20970d0f38d1add50da51daa7011c5d1920.tar.bz2 pry-lang-8324d20970d0f38d1add50da51daa7011c5d1920.zip | |
Feature: Add support for substraction
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/7.src | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/7.src b/examples/7.src index 7b8fe88..0cb0721 100644 --- a/examples/7.src +++ b/examples/7.src @@ -1,7 +1,7 @@ let main = () => { let i = 4; - if i == 4 { + if i - 4 { print(i); return i; }; |