-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathequivalence.cabal
91 lines (82 loc) · 2.28 KB
/
equivalence.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
Cabal-Version: >= 1.10
Name: equivalence
Version: 0.4.1
License: BSD3
License-File: LICENSE
Author: Patrick Bahr
Maintainer: Andreas Abel
Homepage: https://github.com/pa-ba/equivalence
bug-reports: https://github.com/pa-ba/equivalence/issues
Synopsis: Maintaining an equivalence relation implemented as union-find using STT.
Description:
This is an implementation of Tarjan's Union-Find algorithm (Robert
E. Tarjan. "Efficiency of a Good But Not Linear Set Union
Algorithm", JACM 22(2), 1975) in order to maintain an equivalence
relation.
This implementation is a port of the /union-find/ package using the
ST monad transformer (instead of the IO monad).
Category: Algorithms, Data
Stability: provisional
Build-Type: Simple
tested-with:
GHC == 9.8.1
GHC == 9.6.3
GHC == 9.4.8
GHC == 9.2.8
GHC == 9.0.2
GHC == 8.10.7
GHC == 8.8.4
GHC == 8.6.5
GHC == 8.4.4
GHC == 8.2.2
GHC == 8.0.2
Extra-Source-Files: CHANGES.md
source-repository head
type: git
location: https://github.com/pa-ba/equivalence
Library
Exposed-Modules:
Data.Equivalence.STT
Data.Equivalence.Monad
Hs-Source-Dirs: src
default-language: Haskell2010
Build-Depends:
base >= 4.9 && < 5
, containers
, mtl >= 2.2.1
, STMonadTrans >= 0.4.3
, transformers >= 0.2
, transformers-compat >= 0.3
ghc-options:
-Wall
-fno-warn-name-shadowing
-fno-warn-incomplete-record-updates
-Wcompat
Test-Suite test
Type: exitcode-stdio-1.0
Main-is: Data_Test.hs
Other-Modules:
Data.Equivalence.Monad_Test
Data.Equivalence.Monad
Data.Equivalence.STT
hs-source-dirs: src testsuite/tests
default-language: Haskell2010
Build-Depends:
equivalence
-- inherited dependencies from library
, base
, containers
, mtl
, STMonadTrans
, transformers
, transformers-compat
-- Additional dependencies for testsuite
, QuickCheck >= 2
, template-haskell
ghc-options:
-Wall
-fno-warn-name-shadowing
-fno-warn-incomplete-record-updates
-fno-warn-missing-signatures
-fno-warn-unused-do-bind
-Wcompat