aboutsummaryrefslogtreecommitdiffhomepage
path: root/pretyping/miscops.mli
blob: 45a14a3d41580f0de44944c6c7659bd1f070ae00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
(************************************************************************)
(*  v      *   The Coq Proof Assistant  /  The Coq Development Team     *)
(* <O___,, *   INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2010     *)
(*   \VV/  **************************************************************)
(*    //   *      This file is distributed under the terms of the       *)
(*         *       GNU Lesser General Public License Version 2.1        *)
(************************************************************************)

open Misctypes

(** 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

(** Printing of [intro_pattern] *)

val pr_intro_pattern : intro_pattern_expr Loc.located -> Pp.std_ppcmds
val pr_or_and_intro_pattern : or_and_intro_pattern_expr -> Pp.std_ppcmds

(** Printing of [move_location] *)

val pr_move_location :
  ('a -> Pp.std_ppcmds) -> 'a move_location -> Pp.std_ppcmds