Debian Codegraph @

terps/tads/tads3/test/data/sortrand.t

raw
1 #include <tads.h>
2
3 main(args)
4 {
5 local lst = List.generate({i: i-1}, 52).sort(SortAsc, {a, b: rand(3)-1});
6
7 for (local i in 1..lst.length())
8 "<<lst[i]+1>> ";
9 "\n";
10 }