pftbest - 6 years ago
can you please explain this go syntax to me?
type ImmutableTreeList<ElementT> struct {
I thought go doesn't have generics.
reply from Uncaffeinated, the original poster, 6 years ago
It doesn't. That's just a "template" file, which I use search and replace in order to generate the three monomorphized go files.
If you look closely, those aren't angle brackets, they're characters from the Canadian Aboriginal Syllabics block, which are allowed in Go identifiers. From Go's perspective, that's just one long identifier.
Reply to that reply from pcopley, 6 years ago
(quoted} they're characters from the Canadian Aboriginal Syllabics block
Oh my god
pftbest - 6 years ago
can you please explain this go syntax to me?
type ImmutableTreeList<ElementT> struct {
I thought go doesn't have generics.
reply from Uncaffeinated, the original poster, 6 years ago
It doesn't. That's just a "template" file, which I use search and replace in order to generate the three monomorphized go files.
If you look closely, those aren't angle brackets, they're characters from the Canadian Aboriginal Syllabics block, which...
@Elizafox that is an amazing solution tho