rename to lib/
This commit is contained in:
parent
a774ea11ac
commit
7748139d75
7 changed files with 12 additions and 13 deletions
21
lib/amount.mli
Normal file
21
lib/amount.mli
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue