RockstarLang / rockstar

Home of the Rockstar programming language
https://codewithrockstar.com/
GNU Affero General Public License v3.0
6.88k stars 223 forks source link

[beta] subtraction docs snippet same as addition #342

Closed MonstraG closed 1 month ago

MonstraG commented 1 month ago

https://beta.codewithrockstar.com/docs/04-arithmetic.html#subtraction

Addition snippet:

print 1 + 2 (prints: 3)
print 1 + "2" (prints: 12)
print 1 + true (prints: 2)
print 1 + false (prints: 1)
...

Subtraction snippet:

print 1 + 2 (prints: 3)
print 1 + "2" (prints: 12)
print 1 + true (prints: 2)
print 1 + false (prints: 1)
...
MonstraG commented 1 month ago

Ah, I think there is rockstar2, the github link is not updated then

MonstraG commented 1 month ago

Moving this to https://github.com/RockstarLang/rockstar2