method iter_roots f = List.iter f self#roots