Sorry, I don’t have a reference.
You have to use parany.6.0.0 to get this function.
parany.6.0.0 was just accepted in the opam-repository at github.
You may need to opam update then opam upgrade parany if you
are using this repo: git+https://github.com/ocaml/opam-repository.git.