Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build for OCaml 5 #10

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lru.opam
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ build: [ [ "dune" "subst" ] {pinned}
[ "dune" "build" "-p" name "-j" jobs ]
[ "dune" "runtest" "-p" name ] {with-test & ocaml:version >= "4.07.0"} ]
depends: [
"ocaml" {>="4.03.0"}
"ocaml" {>="5.00.0"}
samoht marked this conversation as resolved.
Show resolved Hide resolved
"dune" {build & >= "1.7"}
"psq" {>="0.2.0"}
"qcheck-core" {with-test}
Expand Down
2 changes: 1 addition & 1 deletion src/lru.ml
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ module M = struct
end

module SeededHash (H: Hashtbl.HashedType) = struct
include H let hash _ x = hash x
include H let seeded_hash _ x = hash x
end

module Make (K: Hashtbl.HashedType) (V: Weighted) =
Expand Down