Removed unneeded returns from stdlib (yu-yu\!)

This commit is contained in:
Dmitry Boulytchev 2020-01-05 03:46:19 +03:00
parent 274bda6938
commit 290c124be6
3 changed files with 179 additions and 68 deletions

23
stdlib/test01.expr Normal file
View file

@ -0,0 +1,23 @@
import Collection;
local tree = {}, i;
for i := 100, i >= 1, i := i-1 do
tree := insert (tree, i, i);
printf ("Inserting: %s\n", i.string);
printf ("Result : %s\n", tree.string)
od;
tree := {};
for i := 1, i <= 100, i := i+2 do
tree := insert (tree, i, i);
printf ("Inserting: %s\n", i.string);
printf ("Result : %s\n", tree.string)
od;
for i := 2, i <= 100, i := i+2 do
tree := insert (tree, i, i);
printf ("Inserting: %s\n", i.string);
printf ("Result : %s\n", tree.string)
od