extend default to s64

This commit is contained in:
agra
2026-02-11 01:05:21 +02:00
parent 70435d3c85
commit 25e1372731
11 changed files with 754 additions and 208 deletions

12
examples/24-list.sx Normal file
View File

@@ -0,0 +1,12 @@
#import "modules/std.sx";
List :: struct ($T: Type) {
items: [*]T = .[];
len: s32 = 0;
cap: s32 = 0;
}
main :: () {
list := List(s32).{};
print("{}\n", list);
}