Does someone know how the str type works? From lang reference it's pointer/size/capacity struct but none of the examples does any freeing of strings.
What kind of magic is this?
What kind of magic is this?
https://harelang.org/specification.pdf
They are a very lightweight language feature which is mostly supplemented by the standard library, e.g. the strings module.
There is an example with freeing of strings in the introduction. Search for strings::freeall.