let pair_second x = match AF.get_file x with | Pair (_, b) -> b |> AF.with_provenance "pair-second" ["pair", AF.get_provenance x] | other -> fail_get other "Pair"