projects
/
tatoo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cosmetic changes (truncate long lines, remove trailing spaces…)
[tatoo.git]
/
src
/
hlist.ml
diff --git
a/src/hlist.ml
b/src/hlist.ml
index
3ffb8fc
..
f3dd254
100644
(file)
--- a/
src/hlist.ml
+++ b/
src/hlist.ml
@@
-11,7
+11,9
@@
struct
type elt = H.t
module rec Node : Hcons.S with type data = Data.t = HCB(Data)
type elt = H.t
module rec Node : Hcons.S with type data = Data.t = HCB(Data)
- and Data : Common_sig.HashedType with type t = (elt, Node.t) node =
+ and Data : Common_sig.HashedType
+ with type t = (elt, Node.t) node
+ =
struct
type t = (elt, Node.t) node
let equal x y =
struct
type t = (elt, Node.t) node
let equal x y =
@@
-22,7
+24,8
@@
struct
let hash = function
| Nil -> 0
let hash = function
| Nil -> 0
- | Cons(e, l) -> HASHINT3 (PRIME1, Uid.to_int (H.uid e), Uid.to_int (Node.uid l))
+ | Cons(e, l) ->
+ HASHINT3 (PRIME1, Uid.to_int (H.uid e), Uid.to_int (Node.uid l))
end
include Node
end
include Node
@@
-79,4
+82,3
@@
end
module Make = Builder(Hcons.Make)
module Weak = Builder(Hcons.Weak)
module Make = Builder(Hcons.Make)
module Weak = Builder(Hcons.Weak)
-