move stuff back

This commit is contained in:
swrup 2025-11-28 09:55:41 +01:00
parent fa770e7a8e
commit af6f974b54
11 changed files with 17 additions and 29 deletions

21
src/amount.mli Normal file
View file

@ -0,0 +1,21 @@
type sign =
| Sign_plus
| Sign_minus
type t = private {
sign: sign option;
currency: string;
value: Int64.t;
fraction: Int32.t;
}
val make :
sign:sign option ->
currency:string ->
value:Int64.t ->
fraction:Int32.t ->
(t, string) result
val pp : Format.formatter -> t -> unit
val to_string : t -> string
val of_string : string -> (t, string) result