add todos

This commit is contained in:
swrup 2026-03-12 17:20:03 +01:00
parent 49f07de7a2
commit b5d8065cb9
3 changed files with 9 additions and 0 deletions

View file

@ -18,6 +18,8 @@ val make :
(* fail on differents currencies *) (* fail on differents currencies *)
val compare : t -> t -> int val compare : t -> t -> int
(* TODO rename pp_dump *)
val pp : Format.formatter -> t -> unit val pp : Format.formatter -> t -> unit
val to_string : t -> string val to_string : t -> string
val of_string : string -> (t, string) result val of_string : string -> (t, string) result

View file

@ -1,5 +1,6 @@
(* TODO (* TODO
! use lock ! use lock
!? Scanf not thread-safe
schedule tasks schedule tasks
sign: check timestamps before signing *) sign: check timestamps before signing *)
(* IMPROVE (* IMPROVE

View file

@ -14,6 +14,8 @@ module TimeRelative : sig
val bin : t Bin.t val bin : t Bin.t
val caqti : t Caqti_type.t val caqti : t Caqti_type.t
val jsont : t Jsont.t val jsont : t Jsont.t
(* TODO rename pp_dump *)
val pp : Format.formatter -> t -> unit val pp : Format.formatter -> t -> unit
end end
@ -30,6 +32,8 @@ module TimeAbsolute : sig
val sub : t -> TimeRelative.t -> t val sub : t -> TimeRelative.t -> t
val of_s : int64 -> t val of_s : int64 -> t
val of_ptime : Ptime.t -> t val of_ptime : Ptime.t -> t
(* TODO rename pp_dump *)
val pp : Format.formatter -> t -> unit val pp : Format.formatter -> t -> unit
end end
@ -54,5 +58,7 @@ module Timestamp : sig
val bin : t Bin.t val bin : t Bin.t
val caqti : t Caqti_type.t val caqti : t Caqti_type.t
val jsont : t Jsont.t val jsont : t Jsont.t
(* TODO rename pp_dump *)
val pp : Format.formatter -> t -> unit val pp : Format.formatter -> t -> unit
end end