diff options
Diffstat (limited to 'pretyping/miscops.mli')
-rw-r--r-- | pretyping/miscops.mli | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pretyping/miscops.mli b/pretyping/miscops.mli new file mode 100644 index 00000000..453648d4 --- /dev/null +++ b/pretyping/miscops.mli @@ -0,0 +1,29 @@ +(************************************************************************) +(* v * The Coq Proof Assistant / The Coq Development Team *) +(* <O___,, * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2015 *) +(* \VV/ **************************************************************) +(* // * This file is distributed under the terms of the *) +(* * GNU Lesser General Public License Version 2.1 *) +(************************************************************************) + +open Misctypes +open Genredexpr + +(** Mapping [cast_type] *) + +val map_cast_type : ('a -> 'b) -> 'a cast_type -> 'b cast_type +val smartmap_cast_type : ('a -> 'a) -> 'a cast_type -> 'a cast_type + +(** Equalities on [glob_sort] *) + +val glob_sort_eq : glob_sort -> glob_sort -> bool + +(** Equalities on [intro_pattern_naming] *) + +val intro_pattern_naming_eq : + intro_pattern_naming_expr -> intro_pattern_naming_expr -> bool + +(** Mapping [red_expr_gen] *) + +val map_red_expr_gen : ('a -> 'd) -> ('b -> 'e) -> ('c -> 'f) -> + ('a,'b,'c) red_expr_gen -> ('d,'e,'f) red_expr_gen |