packages feed

algebraic-graphs

A library for algebraic graph construction and transformation

view on Hackage

<https://github.com/snowleopard/alga Alga> is a library for algebraic construction and manipulation of graphs in Haskell. See <https://github.com/snowleopard/alga-paper this paper> for the motivation behind the library, the underlying theory and implementation details. The top-level module <http://hackage.haskell.org/package/algebraic-graphs/docs/Algebra-Graph.html Algebra.Graph> defines the main data type for /algebraic graphs/ <http://hackage.haskell.org/package/algebraic-graphs/docs/Algebra-Graph.html#t:Graph Graph>, as well as associated algorithms. For type-safe representation and manipulation of /non-empty algebraic graphs/, see <http://hackage.haskell.org/package/algebraic-graphs/docs/Algebra-Graph-NonEmpty.html Algebra.Graph.NonEmpty>. Furthermore, /algebraic graphs with edge labels/ are implemented in <http://hackage.haskell.org/package/algebraic-graphs/docs/Algebra-Graph-Labelled.html Algebra.Graph.Labelled>. The library also provides conventional graph data structures, such as <http://hackage.haskell.org/package/algebraic-graphs/docs/Algebra-Graph-AdjacencyMap.html Algebra.Graph.AdjacencyMap> along with its various flavours: * adjacency maps specialised to graphs with vertices of type 'Int' (<http://hackage.haskell.org/package/algebraic-graphs/docs/Algebra-Graph-AdjacencyIntMap.html Algebra.Graph.AdjacencyIntMap>), * non-empty adjacency maps (<http://hackage.haskell.org/package/algebraic-graphs/docs/Algebra-Graph-NonEmpty-AdjacencyMap.html Algebra.Graph.NonEmpty.AdjacencyMap>), * adjacency maps for undirected bipartite graphs (<http://hackage.haskell.org/package/algebraic-graphs/docs/Algebra-Graph-Bipartite-AdjacencyMap.html Algebra.Graph.Bipartite.AdjacencyMap>), * adjacency maps with edge labels (<http://hackage.haskell.org/package/algebraic-graphs/docs/Algebra-Graph-Labelled-AdjacencyMap.html Algebra.Graph.Labelled.AdjacencyMap>), * acyclic adjacency maps (<http://hackage.haskell.org/package/algebraic-graphs/docs/Algebra-Graph-Acyclic-AdjacencyMap.html Algebra.Graph.Acyclic.AdjacencyMap>), A large part of the API of algebraic graphs and adjacency maps is available through the 'Foldable'-like type class <http://hackage.haskell.org/package/algebraic-graphs/docs/Algebra-Graph-ToGraph.html Algebra.Graph.ToGraph>. The type classes defined in <http://hackage.haskell.org/package/algebraic-graphs/docs/Algebra-Graph-Class.html Algebra.Graph.Class> and <http://hackage.haskell.org/package/algebraic-graphs/docs/Algebra-Graph-HigherKinded-Class.html Algebra.Graph.HigherKinded.Class> can be used for polymorphic construction and manipulation of graphs. This is an experimental library and the API is expected to remain unstable until version 1.0.0. Please consider contributing to the on-going <https://github.com/snowleopard/alga/issues discussions on the library API>.
versionuploadeduploaderchanges
0.82026-01-18 02:04 UTCsnowleopard+151/−139 lines, 54 filesdep ~basedep ~containersdep ~inspection-testingPVP ok
0.72022-06-20 23:58 UTCsnowleopard3 revisions+696/−654 lines, 25 filesdep ~QuickCheckdep ~deepseqdep ~inspection-testingPVP ok
0.6.12022-06-14 21:18 UTCsnowleopard1 revisions+404/−267 lines, 57 filesdep −mtldep ~inspection-testingdep ~transformersPVP: major bump suggested
0.62021-12-15 01:56 UTCsnowleopard1 revisions+3362/−2214 lines, 56 filesdep ~QuickCheckdep ~basePVP ok
0.52020-02-02 23:48 UTCsnowleopard+9473/−5354 lines, 61 filesdep +transformersdep −base-compatdep −base-orphansdep −bifunctorsdep ~QuickCheckdep ~extradep ~inspection-testingPVP ok
0.42019-05-08 13:45 UTCsnowleopard+1675/−300 lines, 28 filesdep +bifunctorsdep ~QuickChecksetup-changedPVP ok
0.32018-11-29 23:38 UTCsnowleopard+7626/−2450 lines, 47 filesdep +inspection-testingdep ~QuickCheckPVP ok
0.22018-09-11 23:59 UTCsnowleopard+3959/−2573 lines, 37 filesdep +mtldep −criteriondep ~base-compatdep ~base-orphansdep ~extraPVP ok
0.1.1.12018-04-14 23:55 UTCsnowleopard+6/−2 lines, 2 filesdep ~base-compatPVP ok
0.1.12018-04-02 13:43 UTCsnowleopard+18/−7 lines, 4 filesdep ~QuickCheckPVP ok
0.1.02018-04-01 19:56 UTCsnowleopard+2252/−515 lines, 36 filesdep +base-compatdep +base-orphansdep +deepseqdep ~QuickCheckdep ~arraydep ~basePVP ok
0.0.52017-07-30 02:24 UTCsnowleopard+2406/−3215 lines, 26 filesPVP: major bump suggested
0.0.42017-03-26 23:53 UTCsnowleopard+1823/−1307 lines, 23 filesPVP: major bump suggested
0.0.32017-03-24 14:35 UTCsnowleopard+8/−8 lines, 1 filesPVP ok
0.0.22017-03-24 14:20 UTCsnowleopard+239/−222 lines, 19 filesPVP: major bump suggested
0.0.12017-03-24 04:23 UTCsnowleopard+8702/−0 lines, 27 filesdep +QuickCheckdep +algebraic-graphsdep +arraysetup-changed

Dependencies of algebraic-graphs-0.8

QuickCheck >=2.14 && <2.16 2.15.0.1 → 2.19.0.0 newer than bounds
2026-09-16 11:18 UTC2.19.0.0 newer than bounds+67/−41 lines, 10 filesdep +OneTuplePVP ok
2026-02-26 12:42 UTC2.18.0.0 newer than bounds+826/−542 lines, 23 filesPVP ok
2025-10-13 12:40 UTC2.17.1.0 newer than bounds+18/−8 lines, 4 filesdep ~randomPVP: major bump suggested
2025-10-07 12:26 UTC2.17.0.0 newer than bounds+667/−129 lines, 14 filesdep +data-array-bytedep +hintdep +splitdep −ghc-primdep −old-localedep −old-timedep ~basedep ~randomdep ~template-haskellPVP ok
2025-06-17 07:53 UTC2.16.0.0 newer than bounds+477/−86 lines, 15 filesdep ~basenew-uploaderPVP ok

showing 5 of 66 versions

array >=0.4 && <0.6 0.5.7.0 → 0.5.8.0
2024-09-08 07:13 UTC0.5.8.0+204/−8 lines, 6 filesdep ~basePVP ok
2024-04-12 14:38 UTC0.5.7.0+34/−17 lines, 9 filesdep ~basePVP: major bump suggested
2023-07-10 15:24 UTC0.5.6.0+159/−39 lines, 8 filesdep ~basenew-uploaderPVP ok
2023-02-13 16:01 UTC0.5.5.0+8/−4 lines, 3 filesdep ~basenew-uploaderPVP ok
2019-09-01 06:48 UTC0.5.4.0+33/−8 lines, 5 filesdep ~basesetup-changedPVP: major bump suggested

showing 5 of 18 versions

base >=4.12 && <5 4.22.0.0 → 4.22.1.0
2026-12-01 12:38 UTC4.22.1.0+388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested
2025-12-19 11:52 UTC4.22.0.0+886/−215 lines, 28 filesdep ~ghc-internalPVP ok
2026-03-27 12:26 UTC4.21.2.0+10/−3 lines, 4 filesdep ~ghc-internalPVP ok
2025-12-27 10:31 UTC4.21.1.0+17/−5 lines, 4 filesdep ~ghc-internalPVP ok
2024-12-16 09:24 UTC4.21.0.0+1170/−396 lines, 39 filesdep ~ghc-internalPVP ok

showing 5 of 61 versions

containers >=0.5.5.1 && <0.9 0.8 → 0.8.1
2026-10-04 06:08 UTC0.8.1+8085/−5169 lines, 39 filesdep +template-haskell-liftdep ~arraydep ~deepseqPVP: major bump suggested
2025-03-01 13:03 UTC0.8+8447/−7031 lines, 37 filesnew-uploaderPVP ok
2023-09-27 12:15 UTC0.7+76/−33 lines, 3 filesPVP ok
2023-09-28 04:21 UTC0.6.8+644/−184 lines, 17 filesdep ~basedep ~deepseqPVP: major bump suggested
2023-02-01 03:11 UTC0.6.7+783/−229 lines, 20 filesPVP: major bump suggested

showing 5 of 43 versions

deepseq >=1.3.0.1 && <1.6 1.5.2.0 → 1.6.0.0 newer than bounds
2024-09-08 16:18 UTC1.6.0.0 newer than bounds+5/−14 lines, 3 filesdep ~basePVP ok
2025-06-14 22:25 UTC1.5.2.0+13/−4 lines, 3 filesPVP: major bump suggested
2024-09-09 12:48 UTC1.5.1.0+69/−14 lines, 3 filesdep −arraydep ~basePVP: major bump suggested
2023-07-27 19:32 UTC1.5.0.0+619/−532 lines, 5 filesdep ~basePVP ok
2022-12-18 00:14 UTC1.4.8.1+34/−9 lines, 3 filesdep ~basePVP: major bump suggested

showing 5 of 26 versions

extra >=1.4 && <2 1.8 → 1.8.1
2025-11-23 14:32 UTC1.8.1+48/−4 lines, 6 filesPVP ok
2024-10-19 13:35 UTC1.8+113/−18 lines, 9 filesdep ~basePVP ok
2024-05-11 15:55 UTC1.7.16+4/−2 lines, 3 filesdep ~basePVP: major bump suggested
2024-05-10 13:07 UTC1.7.15+21/−8 lines, 9 filesPVP ok
2023-07-01 19:19 UTC1.7.14+10/−4 lines, 3 filesdep ~basePVP ok

showing 5 of 74 versions

inspection-testing >=0.4.2.2 && <0.7 0.6.2 → 0.6.3
2026-01-17 15:12 UTC0.6.3+3227/−3218 lines, 24 filesdep −mtlsetup-changednew-uploaderPVP ok
2025-06-13 08:40 UTC0.6.2+159/−125 lines, 5 filesdep ~basedep ~ghcPVP ok
2025-06-11 21:55 UTC0.6.1+160/−131 lines, 4 filesPVP ok
2025-01-01 19:38 UTC0.6+41/−4 lines, 4 filesdep ~basePVP ok
2023-12-29 09:33 UTC0.5.0.3+29/−13 lines, 4 filesdep ~basedep ~ghcPVP ok

showing 5 of 29 versions

transformers >=0.4 && <0.7 0.6.2.0 → 0.6.3.0
2026-01-12 12:42 UTC0.6.3.0+28/−1 lines, 4 filesPVP: major bump suggested
2025-04-06 22:39 UTC0.6.2.0+41/−42 lines, 8 filesdep ~ghc-primPVP: major bump suggested
2024-09-25 11:37 UTC0.6.1.2+70/−21 lines, 19 filesPVP: minor bump suggested
2023-08-01 19:13 UTC0.6.1.1+281/−42 lines, 11 filesPVP ok
2023-02-04 08:15 UTC0.6.1.0+64/−4 lines, 8 filesPVP ok

showing 5 of 42 versions

Reverse dependencies

25 packages depend on algebraic-graphs; 9 have bounds that exclude 0.8

aura 3.2.10 requires algebraic-graphs >=0.1 && <0.8 excludes current (upper bound)
build 1.1 requires algebraic-graphs >=0.5 && <0.8 excludes current (upper bound)
cabal-fix 0.1.0.0 requires algebraic-graphs >=0.7 && <0.8 excludes current (upper bound)
dep-t-dynamic 0.1.1.0 requires algebraic-graphs >=0.6 && <0.7 excludes current (upper bound)
disco 0.2 requires algebraic-graphs >=0.5 && <0.8 excludes current (upper bound)
medea 1.2.0 requires algebraic-graphs >=0.5 && <0.6 excludes current (upper bound)
nix-graph 1.0.2.0 requires algebraic-graphs >=0.5 && <0.7 excludes current (upper bound)
overeasy 0.2.0 requires algebraic-graphs >=0.5 && <0.7 excludes current (upper bound)
pangraph 0.2.1 requires algebraic-graphs >=0.2 && <0.3 excludes current (upper bound)
algebraic-graph-duoids 0.0.2.0 requires algebraic-graphs >=0.6.1 && <0.9
algebraic-graphs-io 0.5.0.1 requires algebraic-graphs >=0
arch-hs 0.16.2 requires algebraic-graphs >=0.5 && <0.9
cabal-flatpak 1.0.0 requires algebraic-graphs >=0.7 && <0.9
dotparse 0.1.4.1 requires algebraic-graphs >=0.6 && <0.9
guardian 0.5.0.0 requires algebraic-graphs >=0
hiedb 0.8.0.0 requires algebraic-graphs >=0.3
hnix-store-nar 0.1.2.0 requires algebraic-graphs >=0.5 && <0.9
int-like 0.3.1 requires algebraic-graphs >=0.7 && <0.9
moonlight-category 1.1.0.1 requires algebraic-graphs >=0.8 && <0.9
moonlight-homology 0.1.0.3 requires algebraic-graphs >=0.8 && <0.9
neuron 1.0.0.0 requires algebraic-graphs >=0.5
peg-matching 0.1.0.0 requires algebraic-graphs >=0.7 && <0.9
random-cycle 0.1.2.0 requires algebraic-graphs >=0
rdf4h 5.2.2 requires algebraic-graphs >=0.5
weeder 2.11.0 requires algebraic-graphs >=0.7 && <0.9