https://github.com/EasyCrypt/easycrypt
Revision c8257d35ccb2da4bb7723642d3f6f7910e42f8c2 authored by Pierre-Yves Strub on 02 October 2019, 06:23:52 UTC, committed by Pierre-Yves Strub on 02 October 2019, 06:23:52 UTC
1 parent f2bcd42
Raw File
Tip revision: c8257d35ccb2da4bb7723642d3f6f7910e42f8c2 authored by Pierre-Yves Strub on 02 October 2019, 06:23:52 UTC
Namespace for libraries and th. renaming
Tip revision: c8257d3
ecHiPredicates.mli
(* --------------------------------------------------------------------
 * Copyright (c) - 2012--2016 - IMDEA Software Institute
 * Copyright (c) - 2012--2018 - Inria
 * Copyright (c) - 2012--2018 - Ecole Polytechnique
 *
 * Distributed under the terms of the CeCILL-C-V1 license
 * -------------------------------------------------------------------- *)

(* -------------------------------------------------------------------- *)
open EcLocation
open EcSymbols
open EcParsetree

(* -------------------------------------------------------------------- *)
type tperror =
| TPE_Typing of EcTyping.tyerror
| TPE_TyNotClosed
| TPE_DuplicatedConstr of symbol

exception TransPredError of EcLocation.t * EcEnv.env * tperror

val tperror : EcLocation.t -> EcEnv.env -> tperror -> 'a

(* -------------------------------------------------------------------- *)
val trans_preddecl : EcEnv.env -> ppredicate located -> EcDecl.operator
back to top