fact: Definition unpickle_tagged s := if CodeSeq.decode s is [:: ni; nx] then obind (fun i => omap (@Tagged I i T_) (unpickle nx)) (unpickle ni) else None.
imports: HB(structures) mathcomp(ssreflect ssrfun ssrbool eqtype ssrnat seq)