package hardcaml_verify
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=a469d63c76bd86fbd04aa38d391dc736d4bc291ad5ffe0090b31cc4ae3ba6622
doc/hardcaml_verify.kernel/Hardcaml_verify_kernel/Nusmv/With_interface/argument-1-I/index.html
Parameter With_interface.I
val sexp_of_t : ('a -> Sexplib0.Sexp.t) -> 'a t -> Sexplib0.Sexp.tval t : (Base.string * Base.int) tinclude Base.Equal.S1 with type 'a t := 'a t
val equal : 'a Base.Equal.equal -> 'a t Base.Equal.equalval port_names : Base.string tRTL names specified in the interface definition - commonly also the OCaml field name.
val to_alist : 'a t -> (Base.string * 'a) Base.listCreate association list indexed by field names.
val of_alist : (Base.string * 'a) Base.list -> 'a tCreate interface from association list indexed by field names
val fold : 'a t -> init:'acc -> f:('acc -> 'a -> 'acc) -> 'accOffset of each field within the interface. The first field is placed at the least significant bit, unless the rev argument is true.
Take a list of interfaces and produce a single interface where each field is a list.
Create a list of interfaces from a single interface where each field is a list. Raises if all lists don't have the same length.
module All (M : Base.Monad.S) : sig ... endSimilar to Monad.all for lists -- combine and lift the monads to outside the interface.
val or_error_all : 'a Base.Or_error.t t -> 'a t Base.Or_error.tEquivalent to All(Or_error).all. This is made a special case for convenience.
module type Comb = sig ... endmodule Of_bits : Comb with type comb = Hardcaml.Bits.tmodule Of_signal : sig ... endmodule Of_always : sig ... endHelper functions to ease usage of the Always API when working with interfaces.
module Names_and_widths : sig ... end