flatten_fn_list function

Flatten a list of functions onto d.