Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
module Loc = Tip_loc
type term =
| True
| False
| Const of string
| App of string * term list
| HO_app of term * term
| Match of term * match_branch list
| If of term * term * term
| Let of (var * term) list * term
| Fun of typed_var * term
| Eq of term * term
| Imply of term * term
| And of term list
| Or of term list
| Not of term
| Cast of term * ty
| Forall of (var * ty) list * term
| Exists of (var * ty) list * term
val ty_bool : ty
val true_ : term
val false_ : term
val const : string -> term
val match_ : term -> match_branch list -> term
val pp_ty : Stdlib.Format.formatter -> ty -> unit
val pp_term : Stdlib.Format.formatter -> term -> unit
val pp_typed_var : Stdlib.Format.formatter -> typed_var -> unit
val pp_fun_decl :
(Stdlib.Format.formatter -> 'a -> unit) ->
Stdlib.Format.formatter ->
'a fun_decl ->
unit
val pp_fr : Stdlib.Format.formatter -> fun_def -> unit
val pp_stmt : Stdlib.Format.formatter -> statement -> unit
exception Parse_error of Loc.t option * string
val parse_error : ?loc:Loc.t -> string -> 'a
val parse_errorf : ?loc:Loc.t -> ('a, unit, string, 'b) Stdlib.format4 -> 'a