https://github.com/EasyCrypt/easycrypt
Raw File
Tip revision: 1e4e582367c5e0b779ec0d96553f3a50007fab15 authored by Christian Doczkal on 14 June 2023, 14:00:26 UTC
Variant of FMap where get samples randomly
Tip revision: 1e4e582
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