Rename partition → UnionFind for consistency across the various names that opam and dune assign to this library

This commit is contained in:
Suzanne Dupéron 2020-01-06 19:30:34 +01:00
parent 3fc434d0d7
commit bb48af8325
4 changed files with 13 additions and 3 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
*.cmi
*.cmx
*.o
*.opt

View File

@ -6,7 +6,7 @@ homepage : "https://gitlab.com/rinderknecht/UnionFind"
bug-reports : "https://gitlab.com/rinderknecht/UnionFind/issues"
dev-repo : "git+https://gitlab.com/rinderknecht/UnionFind.git"
license : "MIT"
synopsis : "A polymorphic implementation of the Union-Find data structure in OCaml"
depends : [ "dune" ]
build : [

4
dune
View File

@ -1,8 +1,8 @@
(library
(name UnionFind)
(public_name partition)
(public_name UnionFind)
(wrapped false)
(modules Partition0 Partition1 Partition2 Partition3 Partition)
(modules Partition0 Partition1 Partition2 Partition3 Partition UnionFind)
(modules_without_implementation Partition))
(test

6
unionFind.ml Normal file
View File

@ -0,0 +1,6 @@
(* This module is the public interface and corresponds to public_name in dune *)
module Partition = Partition
module Partition0 = Partition0
module Partition1 = Partition1
module Partition2 = Partition2
module Partition3 = Partition3