package frenetic
Parameter Make.R
include HashCmp
val equal : t -> t -> Ppx_deriving_runtime.boolval hash_fold_t :
Ppx_hash_lib.Std.Hash.state ->
t ->
Ppx_hash_lib.Std.Hash.stateval hash : t -> Ppx_hash_lib.Std.Hash.hash_valueval to_string : t -> stringAn associative and commutative binary operation over the type t. The following should hold:
sum a (sum b c)=sum (sum a b) c.sum a b=sum b a.
An associative binary operation over the type t. The following should hold:
prod a (prod b c)=prod (prod a b) c.prod a (sum b c)=sum (prod a b) (prod a c).
val one : tThe identity for the prod operation. The following should hold:
prod one t=t.prod t one=t.
As an example, if t where the type bool and prod and sum were && and ||, respectively, then one should be the value true.
val zero : tThe identity for the sum operation. The following should hold:
sum zero t=t.sum t zero=t.prod zero t=zero.prod t zero=zero.
As an example, if t where the type bool and prod and sum were && and ||, respectively, then zero should be the value false.