logoalt Hacker News

dpassens08/12/20250 repliesview on HN

You still misunderstand the type type. "type" does not mean "generic over all types" but that you're returning a reified type. The original Zig function does not return an ArrayList value, it returns the ArrayList type.