File: typeops.mli

package info (click to toggle)
coq 8.3.pl4%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 18,404 kB
  • sloc: ml: 134,418; lisp: 2,734; ansic: 1,968; sh: 1,215; makefile: 655
file content (28 lines) | stat: -rw-r--r-- 1,030 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
(************************************************************************)
(*  v      *   The Coq Proof Assistant  /  The Coq Development Team     *)
(* <O___,, *   INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2011     *)
(*   \VV/  **************************************************************)
(*    //   *      This file is distributed under the terms of the       *)
(*         *       GNU Lesser General Public License Version 2.1        *)
(************************************************************************)

(*i $Id: typeops.mli 9427 2006-12-11 18:46:35Z bgregoir $ i*)

(*i*)
open Names
open Term
open Declarations
open Environ
(*i*)

(*s Typing functions (not yet tagged as safe) *)

val infer      : env -> constr      -> constr
val infer_type : env -> constr      -> sorts
val check_ctxt : env -> rel_context -> env
val check_named_ctxt : env -> named_context -> env
val check_polymorphic_arity :
  env -> rel_context -> polymorphic_arity -> unit

val type_of_constant_type : env -> constant_type -> constr