package zelus

  1. Overview
  2. Docs
val empty : ctx
val par : ctx -> ctx -> ctx
val seq : ctx -> ctx -> ctx
val add : Zelus.eq -> ctx -> ctx
val optional : ('a -> 'b * ctx) -> 'a option -> 'b option * ctx
val par_fold : ('a -> 'b * ctx) -> 'a list -> 'b list * ctx
val equations : Zelus.eq Zmisc.State.t -> Zelus.eq list
val expression : Zelus.exp -> Zelus.exp * ctx

Translation of expressions

val equation : Zelus.eq -> ctx

Translate an equation.

val par_equation_list : Zelus.eq list -> ctx
val seq_equation_list : Zelus.eq list -> ctx
val block : Zelus.eq list Zelus.block -> Zelus.eq list Zelus.block

Translating a block

val local : Zelus.local -> ctx
val local_list : Zelus.local list -> ctx
OCaml

Innovation. Community. Security.