cleanup, docs

This commit is contained in:
root
2026-06-16 12:21:31 +00:00
parent dff1959341
commit ea08d5f28b
296 changed files with 1571 additions and 1940 deletions
+20
View File
@@ -0,0 +1,20 @@
:sig
StringList StringList::unique() const
:params
return value : a new `StringList` containing each distinct string once
:content
Returns a copy of the list with duplicate strings removed. The first occurrence of each string is kept, so the result preserves first-seen order.
:example
StringList routes = split("dashboard,index,dashboard,themes", ",");
StringList unique_routes = routes.unique();
print(join(unique_routes, ","), "\n");
:see
>types
0_StringList
2_StringList_sort
2_StringList_find
join