logoalt Hacker News

dpassenslast Sunday at 5:39 PM1 replyview on HN

I don't know D but shouldn't that be

    struct ArrayListType(T) {

?

Replies

brabellast Sunday at 6:01 PM

Walter is showing the equivalent function declaration... you will eventually create a generic type as you say, but in the Zig example, that was a function, not a struct.

show 1 reply