box foos = [] fn foo! () -> update! (foos, append (_, :foo)) fn foos! () -> repeat 4 { foo! () } foos! () unbox (foos)