Modify array of functions in a mutable struct

old = foo.farr[1]
foo.farr[1] = x -> old(x) * (1+x)
1 Like