1 2 3 4 5 6 7 8 9 10 11
module type Stack#[T]* = record item: ^T end proc push#[T]*(s: ^Stack#[T]; item: ^T) return end.