10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-11-14 10:03:47 +01:00
QuantumPackage/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