package electrod

  1. Overview
  2. Docs

Atoms (= urelements).

type t

Type of atoms.

val atom : ?loc:Location.t -> string -> t

atom ~loc:loc s creates an atom with name s and optional location loc.

val of_raw_ident : Raw_ident.t -> t

creates an atom out of a raw_ident.

val pp_list : t list CCFormat.printer

Prints a list of atoms as a bound.

val hash : t -> int
include Intf.Print.S with type t := t
val pp : t Fmtc.t
val to_string : t -> string
include Intf.COMPARE with type t := t
val compare : t -> t -> int
val equal : t -> t -> bool
OCaml

Innovation. Community. Security.