pub fn apply_edits(prog: &Program, edits: &[Edit]) -> Program
Apply a sequence of edits, producing the final program.