reorganized build-ins and implement a circular queue as an example
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
|
||||
fun fail_at_depth(depth) {
|
||||
|
||||
fun fail(current_depth) {
|
||||
|
||||
assert(current_depth < depth);
|
||||
|
||||
fail(current_depth + 1);
|
||||
}
|
||||
|
||||
fail(0);
|
||||
}
|
||||
|
||||
fail_at_depth(9);
|
||||
Reference in New Issue
Block a user