package hardcaml

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Hardcaml.Combinational_ops_databaseSource

A database which holds a collecton of custom combinational operations for use with Cyclesim based simulators.

Sourcetype t
Sourceval sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
Sourceval create : Base.Unit.t -> t

Create an empty database.

Insert combinational op into the database.

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

Sourceval fold : t -> init:'a -> f:('a -> Combinational_op.t -> 'a) -> 'a
Sourceval concat : t Base.List.t -> t

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