// Generic structs - Box and Pair import Std::Io::{PrintLine, PrintInt}; struct Box { value: T, } struct Pair { first: T, second: U, } func Main() -> int { let b: Box = Box { value: 42 }; PrintLine("Box value:"); PrintInt(b.value); PrintLine(""); let p: Pair = Pair { first: 10, second: "hello" }; PrintLine("Pair first:"); PrintInt(p.first); PrintLine(""); return 0; }