(************************************************************************) (* v * The Coq Proof Assistant / The Coq Development Team *) (* q_type | Qq : BigZ.t -> BigN.t -> q_type. Definition print_type x := match x with | Qz _ => Z | _ => (Z*Z)%type end. Definition print x := match x return print_type x with | Qz zx => BigZ.to_Z zx | Qq nx dx => (BigZ.to_Z nx, BigN.to_Z dx) end.