cons and tail for maps Fin n →₀ M #
We interpret maps Fin n →₀ M as n-tuples of elements of M,
We define the following operations:
Finsupp.tail: the tail of a mapFin (n + 1) →₀ M, i.e., its lastnentries;Finsupp.cons: adding an element at the beginning of ann-tuple, to get ann + 1-tuple;
In this context, we prove some usual properties of tail and cons, analogous to those of
Data.Fin.Tuple.Basic.