JJ: Description from the destination commit:
~ JJ: Description from source commit: mv mod_intf.mli
This commit is contained in:
parent
bded77a939
commit
63e9791f88
5 changed files with 5 additions and 4 deletions
1
src/dune
1
src/dune
|
|
@ -8,6 +8,7 @@
|
||||||
(name mte)
|
(name mte)
|
||||||
(wrapped false)
|
(wrapped false)
|
||||||
(modules :standard \ mte b32)
|
(modules :standard \ mte b32)
|
||||||
|
(modules_without_implementation mod_intf)
|
||||||
(libraries
|
(libraries
|
||||||
b32
|
b32
|
||||||
;
|
;
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
(* TODO better error type *)
|
(* TODO better error type *)
|
||||||
type 'a result = ('a, string) Result.t
|
type 'a result = ('a, string) Result.t
|
||||||
|
|
||||||
module type S = Keys_intf.S
|
module type S = Mod_intf.S
|
||||||
|
|
||||||
module Make (Conn : Pg.CONN) = struct
|
module Make (Conn : Pg.CONN) = struct
|
||||||
open Syntax
|
open Syntax
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
module type S = Keys_intf.S
|
module type S = Mod_intf.S
|
||||||
|
|
||||||
module Make (_ : Pg.CONN) : S
|
module Make (_ : Pg.CONN) : S
|
||||||
|
|
|
||||||
|
|
@ -92,8 +92,8 @@ let split_in_periodes ~start ~end_ =
|
||||||
go acc start end_
|
go acc start end_
|
||||||
|
|
||||||
let gen_additional_keys_until_lookahead ~now l =
|
let gen_additional_keys_until_lookahead ~now l =
|
||||||
(* try to _not_ generate keys with validity start in the past
|
(* TODO do not exceed lookahead (probably more important...) *)
|
||||||
(probably not important) *)
|
(* try to not generate keys with validity start in the past *)
|
||||||
let start =
|
let start =
|
||||||
match List.rev (sort_keys l) with
|
match List.rev (sort_keys l) with
|
||||||
| [] -> now
|
| [] -> now
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue