Skip to content

Commit

Permalink
Revert "copy module instead of include (ocaml/odoc#1162)"
Browse files Browse the repository at this point in the history
This reverts commit 2fcf6e5.
  • Loading branch information
dlesbre committed Jul 18, 2024
1 parent 7913415 commit 35ee967
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/PatriciaTree.ml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
(**************************************************************************)

include Ints
module Sigs = Sigs
include Signatures
include Key_value
include Functors
include Nodes
10 changes: 5 additions & 5 deletions src/PatriciaTree.mli
Original file line number Diff line number Diff line change
Expand Up @@ -115,18 +115,18 @@
informative; log(n) corresponds to the real complexity in usual
distributions. *)

(** {1 Integer manipulations} *)

include module type of Ints

(** {1 Signatures} *)

module Sigs = Sigs
include module type of Signatures

(** {1 Functors} *)

include module type of Functors

(** {1 Miscellaneous utilities} *)

include module type of Ints

(** {1 Default KEY and VALUE implementations} *)
(** These can be used as parameters to {!MakeMap}/{!MakeSet} functors in the
most common use cases. *)
Expand Down
2 changes: 1 addition & 1 deletion src/functors.ml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
(**************************************************************************)

open Ints
open Sigs
open Signatures
open Key_value
open Nodes

Expand Down
2 changes: 1 addition & 1 deletion src/functors.mli
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
(* for more details (enclosed in the file LICENSE). *)
(**************************************************************************)

open Sigs
open Signatures

(** This section presents the functors which can be used to build patricia tree
maps and sets. *)
Expand Down
2 changes: 1 addition & 1 deletion src/key_value.ml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
(* for more details (enclosed in the file LICENSE). *)
(**************************************************************************)

open Sigs
open Signatures

(** {1 Keys and values} *)

Expand Down
2 changes: 1 addition & 1 deletion src/key_value.mli
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
(* for more details (enclosed in the file LICENSE). *)
(**************************************************************************)

open Sigs
open Signatures

module Value : VALUE with type 'a t = 'a
(** Default implementation of {!VALUE}, used in {!MakeMap}.
Expand Down
2 changes: 1 addition & 1 deletion src/nodes.ml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
(**************************************************************************)

open Ints
open Sigs
open Signatures

let sdbm x y = y + (x lsl 16) + (x lsl 6) - x
(** Combine two numbers into a new hash *)
Expand Down
2 changes: 1 addition & 1 deletion src/nodes.mli
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
(* for more details (enclosed in the file LICENSE). *)
(**************************************************************************)

open Sigs
open Signatures

(** {1 Basic nodes} *)

Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion src/test/patriciaTreeTest.ml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
(**************************************************************************)

open PatriciaTree
open Sigs

let check_highest_bit x res =
(* Printf.printf "CHECK_HIGHEST_BIT: %x %x\n%!" x res; *)
Expand Down

0 comments on commit 35ee967

Please sign in to comment.