Generic types and source file structs

The way it’s done in the standard library is like this:

pub const MultiArrayList = @import("multi_array_list.zig").MultiArrayList;

I find this tolerable, but not really preferable. As in, I don’t like it, but I don’t really see any better alternatives.

3 Likes