10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-12-25 13:53:49 +01:00
quantum_package/ocaml/Bit.mli

11 lines
252 B
OCaml
Raw Normal View History

2017-08-18 18:28:33 +02: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