https://github.com/EasyCrypt/easycrypt
Revision 17ae2d37bb9894eb22be1f149eaecd0934d0771a authored by Adrien Koutsos on 29 April 2022, 15:32:59 UTC, committed by Adrien Koutsos on 29 April 2022, 15:32:59 UTC
1 parent f37b697
Raw File
Tip revision: 17ae2d37bb9894eb22be1f149eaecd0934d0771a authored by Adrien Koutsos on 29 April 2022, 15:32:59 UTC
better printing + work on costs
Tip revision: 17ae2d3
ecHiPredicates.mli
(* -------------------------------------------------------------------- *)
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