10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-11-03 12:43:48 +01:00
QuantumPackage/ocaml/Bit.mli
2019-01-25 11:39:31 +01:00

11 lines
252 B
OCaml

type t = One | Zero [@@deriving sexp]
(** String conversions for printing *)
val to_string : t -> string
(** Logical operations *)
val and_operator : t -> t -> t
val or_operator : t -> t -> t
val xor_operator : t -> t -> t
val not_operator : t -> t