package lib // A named slice type, sized from another package. type Nat []int32 func Sum(n Nat) (s int32) { for _, v := range n { s += v } return }