9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-06-19 11:02:04 +02:00
qp2/ocaml/Bit.mli

11 lines
252 B
OCaml
Raw Normal View History

2019-01-25 11:39:31 +01:00
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