Mapping along a reversed range #
Lists of the form [f (b - 1), …, f 0], that is (List.range b).reverse.map f, record
coefficient sequences from the top index down. This file peels off the top entry and collapses a
run of vanishing entries at the top into a block of zeros.
Main results #
List.map_reverse_range_succ: the list[f k, …, f 0]begins withf k.List.map_reverse_range_eq_replicate_append: iffvanishes on[a, b), then[f (b - 1), …, f 0]isb - azeros followed by[f (a - 1), …, f 0].