9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-12-22 19:43:32 +01:00
qp2/ocaml/Charge.mli

14 lines
291 B
OCaml
Raw Normal View History

2019-01-25 11:39:31 +01:00
type t = float [@@deriving sexp]
(** Float conversion functions *)
val to_float : t -> float
val of_float : float -> t
(** Int conversion functions *)
val to_int : t -> int
val of_int : int -> t
(** String conversion functions *)
val to_string: t -> string
val of_string: string -> t