Module Hardcaml__.Combinational_ops_database

type t
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val create : Hardcaml__.Import.unit -> t

Create an empty database.

val insert : t -> Hardcaml.Combinational_op.t -> Hardcaml__.Import.unit

Insert combinational op into the database.

val find : t -> name:Hardcaml__.Import.string -> Hardcaml.Combinational_op.t Hardcaml__.Import.option

Find a combinational op in the database, given its name.

val fold : t -> init:'a -> f:('a -> Hardcaml.Combinational_op.t -> 'a) -> 'a
val iter : t -> f:(Hardcaml.Combinational_op.t -> Hardcaml__.Import.unit) -> Hardcaml__.Import.unit
val concat : t Hardcaml__.Import.list -> t

concat ts creates a new database with all elements added from the list of databases ts.