tag option { some(T); none; } type r = {mutable v: [option]}; fn f() -> [T] { ret ~[]; } fn main() { let r: r = {mutable v: ~[]}; r.v = f(); }