package electrod

  1. Overview
  2. Docs
Formal analysis for the Electrod formal pivot language

Install

dune-project
 Dependency

Authors

Maintainers

Sources

electrod-0.6.tbz
sha256=545020556bdc1517867791ccbbf4a00623d911663daa26e6d57dc66e7652f269
sha512=2921be5e844e408f1d3208c7d9b310d3ef3b050d37ab0b449b9fd9722be54167eacc08b957b595cab58dedb28c43f327238a30a360ac0ae45d724bd1d8bd664c

doc/electrod.libelectrod/Libelectrod/Tuple/index.html

Module Libelectrod.TupleSource

Tuples of atoms.

Sourcetype t

invariant: atoms <> empty

Sourceval of_list1 : Atom.t list -> t

Builds a tuple out of a non-empty list of atoms.

Sourceval tuple1 : Atom.t -> t

Builds a 1-tuple out of an atom.

Sourceval arity : t -> int

Returns the arity of the tuple.

Sourceval (@@@) : t -> t -> t

t1 @@@ t2 yields the concatenation of t1 followed by t2 (useful to compute the flat product of bounds/tuple sets).

Sourceval concat : t list -> t

Concatenation of a list of tuples. Fails if the list is empty.

Sourceval compare : t -> t -> int
Sourceval equal : t -> t -> bool
Sourceval hash : t -> int
Sourceval transpose : t -> t

Transposes a pair.

Sourceval ith : int -> t -> Atom.t

i-th element of a tuple.

Sourceval is_in_join : t -> t -> t -> bool

is_in_join tuple t1 t2 says whether tuple is the concatenation of t1 (minus the last column) and t2 (minus the ifrst column).

Sourceval join : t -> t -> t

Joins two tuples (getting rid of the last and first columns (resp.))

Sourceval split : t -> int -> t * t

split t lg splits a tuple into two, the first being of length lg.

Sourceval all_different : t -> bool

all_different t tells whether all atoms in a tuple are different.

Sourceval to_1tuples : t -> t list

to_1tuples t splits a tuple into as many 1-tuples at its length.

Sourceval to_ntuples : int -> t -> t list

to_ntuples n t splits a tuple into n-tuples (length must be a multiple of n).

Sourceval to_list : t -> Atom.t list

to_list t produces a list of atoms.

include Intf.Print.S with type t := t
Sourceval pp : t Fmtc.t
Sourceval to_string : t -> string
Sourcemodule Set : CCSet.S with type elt = t
OCaml

Innovation. Community. Security.