summaryrefslogtreecommitdiff
path: root/a.toc
diff options
context:
space:
mode:
Diffstat (limited to 'a.toc')
-rw-r--r--a.toc6
1 files changed, 3 insertions, 3 deletions
diff --git a/a.toc b/a.toc
index 60c31dd..7efdaf5 100644
--- a/a.toc
+++ b/a.toc
@@ -7,7 +7,6 @@ pkg "a";
len, cap : int;
}
};
-/*
#export arr_add ::= fn(t ::=, a : &Arr(t), x : t) {
if a.len >= a.cap {
a.cap = a.cap * 2 + 2;
@@ -20,9 +19,10 @@ pkg "a";
a.data[a.len] = x;
a.len += 1;
};
-
+/*
#export arr_foreach ::= fn(t ::=, a : Arr(t), f : fn(&t)) {
each i := 0..a.len-1 {
f(&a.data[i]);
}
-};*/ \ No newline at end of file
+};
+*/ \ No newline at end of file