https://github.com/EasyCrypt/easycrypt
Tip revision: 08c4033d0ad11dd691e37e4027d9e56ca40a4b63 authored by Pierre-Yves Strub on 06 September 2022, 07:15:00 UTC
Refactoring: remove the `assert' statement
Refactoring: remove the `assert' statement
Tip revision: 08c4033
ecTerminal.mli
(* -------------------------------------------------------------------- *)
type terminal
type status = [
| `ST_Ok
| `ST_Failure of exn
]
type loglevel = EcGState.loglevel
(* -------------------------------------------------------------------- *)
val interactive : terminal -> bool
val next : terminal -> EcParsetree.prog
val notice : immediate:bool -> loglevel -> string -> terminal -> unit
val finish : status -> terminal -> unit
val finalize : terminal -> unit
val setwidth : terminal -> int -> unit
(* -------------------------------------------------------------------- *)
type progress = [ `Human | `Script | `Silent ]
val from_channel :
?gcstats:bool
-> ?progress:progress
-> name:string
-> in_channel
-> terminal
val from_tty : unit -> terminal
val from_emacs : unit -> terminal