Beginnings of loops

This commit is contained in:
dane committed 2024-11-16 13:44:04 -06:00
1 parent 5fdd28fe0e
commit 7213f4a487
7 files changed
+41 -12

No files matched your search

+6 -1
View File
@@ -8,7 +8,7 @@ foo <- ->
bar()
baz()
# functions with block statements
oo <- x -> y -> x * y + 7 ## Multiple argument functions
foo <- x -> y -> x * y + 7 ## Multiple argument functions
if test?()
do-something()
elif other-test?()
@@ -23,3 +23,8 @@ else
if second-test?()
do-a-real-bad-thing()
## Nested blocks
i <- 1
loop until i > 10
print(i)
i <- 1