package electrod

  1. Overview
  2. Docs
type t
val make : Domain.t -> Name.t -> Tuple.t -> t
val compare : t -> t -> int
val compare_string : t -> t -> int

compare atoms as strings

val equal : t -> t -> bool
val hash : t -> int
val domain_arity : t -> int option

None if non-enumerable; otw Some ar with ar >= 0

val is_const : t -> bool

Says whether the atomic proposition corresponds to a const or var relation

val is_partial : t -> bool
val split_string : string -> (Name.t * Tuple.t) option

split_string s returns the name and tuple that produced this string, None in case no such pair has arrived

val split : t -> (Name.t * Tuple.t) option
val pp : t Fmtc.t