packages feed

FiniteCategories

Finite categories and usual categorical constructions on them.

view on Hackage

This package provides tools to create categories at the value level. This is different from the __Hask__ category where types are objects in a category with an infinite collection of objects and functions, here we construct categories where objects and arrows are arbitrary values so that we can change categories during runtime. Each category implements two functions following the category structure axioms : @ar@ which returns arrows between two objects of the category and @identity@ which returns the identity of an object. A FiniteCategory implements an additional function : @ob@ which returns objects of the category. Thanks to these functions, we can construct automatically all the usual constructions on the categories (limits and colimits, adjunctions, Yoneda embedding, etc.) Functors are different from usual @Functor@ typeclass, we store functors as mapping between objects and morphisms of two categories. This package is also different from the package @data-category@ because we can enumerate objects and arrows in a finite category. This allows us to construct limit, colimits, adjunctions, etc. automatically for arbitrary finite categories. On the other hand, we loose typecheck at compilation time which ensures that composition is sound in __Hask__, composition in our package might lead to an error raised during runtime. See the Readme file for installation help. See the package FiniteCategoriesGraphViz to visualize categories with graphviz.
versionuploadeduploaderchanges
0.6.5.12024-05-31 16:02 UTCgsabbagh+9/−5 lines, 3 filesdep ~containersPVP ok
0.6.5.02024-05-16 15:29 UTCgsabbagh+8/−4 lines, 5 filesPVP ok
0.6.4.02024-03-08 13:51 UTCgsabbagh+24/−5 lines, 3 filesPVP ok
0.6.3.12024-03-06 20:26 UTCgsabbagh+12/−8 lines, 3 filesPVP: major bump suggested
0.6.3.02024-02-05 16:59 UTCgsabbagh+76/−3 lines, 4 filesPVP ok
0.6.2.02024-01-24 11:08 UTCgsabbagh+27/−3 lines, 3 filesPVP ok
0.6.1.12024-01-23 17:32 UTCgsabbagh+8/−4 lines, 3 filesPVP ok
0.6.1.02024-01-23 16:01 UTCgsabbagh+23/−4 lines, 3 filesPVP ok
0.6.0.22024-01-22 16:10 UTCgsabbagh+12/−2 lines, 3 filesPVP: major bump suggested
0.6.0.12024-01-14 21:31 UTCgsabbagh+147/−5 lines, 8 filesPVP: minor bump suggested
0.6.0.02024-01-11 14:46 UTCgsabbagh+4820/−1668 lines, 109 filesdep ~WeakSetsPVP ok
0.5.0.02023-10-10 12:46 UTCgsabbagh+12/−8 lines, 2 filesdep ~WeakSetsdep ~basedep ~randomPVP ok
0.4.0.02023-10-10 12:17 UTCgsabbagh+8/−4 lines, 2 filesdep ~basePVP ok
0.3.0.12023-09-29 10:31 UTCgsabbagh+8/−4 lines, 2 filesdep ~textPVP ok
0.3.0.02023-09-29 09:21 UTCgsabbagh+659/−760 lines, 36 filesdep −fgldep −graphvizdep −processdep ~WeakSetsdep ~basedep ~containersPVP ok
0.2.0.02023-03-13 16:42 UTCgsabbagh+6457/−7145 lines, 169 filesdep +WeakSetsPVP ok
0.1.0.02022-03-28 13:51 UTCgsabbagh+7993/−0 lines, 103 filesdep +FiniteCategoriesdep +basedep +containers

Dependencies of FiniteCategories-0.6.5.1

WeakSets >=1.6.1.0 && <1.7 1.6.0.0 → 1.6.1.0
2023-11-05 20:15 UTC1.6.1.0+86/−6 lines, 3 filesPVP: major bump suggested
2023-11-03 16:59 UTC1.6.0.0 outside bounds+109/−226 lines, 10 filesPVP ok
2023-10-10 12:37 UTC1.5.0.0 outside bounds+9/−5 lines, 3 filesdep ~basePVP ok
2023-09-22 22:06 UTC1.4.0.1 outside bounds+9/−5 lines, 2 filesdep ~basePVP ok
2022-08-30 10:03 UTC1.4.0.0 outside bounds+8/−4 lines, 3 filesPVP ok

showing 5 of 23 versions

base >=4 && <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.6.0.0 && <0.7 0.6.8 → 0.8.1 newer than bounds
2026-10-04 06:08 UTC0.8.1 newer than bounds+8085/−5169 lines, 39 filesdep +template-haskell-liftdep ~arraydep ~deepseqPVP: major bump suggested
2025-03-01 13:03 UTC0.8 newer than bounds+8447/−7031 lines, 37 filesnew-uploaderPVP ok
2023-09-27 12:15 UTC0.7 newer than bounds+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

directory >=1.3.8.1 && <1.4 1.3.10.1 → 1.3.11.0
2026-05-27 05:59 UTC1.3.11.0+4560/−4504 lines, 25 filesdep ~file-iodep ~filepathdep ~os-stringPVP ok
2026-01-05 11:08 UTC1.3.10.1+4989/−4830 lines, 43 filesPVP: major bump suggested
2025-12-24 02:55 UTC1.3.10.0+90/−39 lines, 7 filesdep ~Win32dep ~basePVP: major bump suggested
2024-10-11 10:43 UTC1.3.9.0+235/−158 lines, 14 filesdep +file-iodep ~basedep ~timePVP: major bump suggested
2024-05-20 06:52 UTC1.3.8.5+15/−13 lines, 7 filesdep ~basePVP ok

showing 5 of 55 versions

filepath >=1.4.100.1 && <1.5 1.4.301.0 → 1.5.5.0 newer than bounds
2026-01-20 08:14 UTC1.5.5.0 newer than bounds+68/−12 lines, 8 filesdep +QuickCheckdep +template-haskell-liftdep +template-haskell-quasiquoterPVP ok
2024-11-17 13:06 UTC1.5.4.0 newer than bounds+26/−6 lines, 3 filesdep ~basePVP ok
2024-06-29 15:30 UTC1.5.3.0 newer than bounds+876/−871 lines, 13 filesdep −QuickCheckdep ~basePVP: major bump suggested
2024-01-26 07:02 UTC1.5.2.0 newer than bounds+330/−256 lines, 11 filesdep +generic-derivingdep +generic-randomdep +tastydep ~basedep ~os-stringPVP ok
2023-11-25 08:29 UTC1.5.0.0 newer than bounds+53/−3744 lines, 35 filesdep +os-stringdep ~basePVP ok

showing 5 of 35 versions

random >=1.2.1 && <1.3 1.2.1.3 → 1.3.1 newer than bounds
2025-04-04 14:25 UTC1.3.1 newer than bounds+15/−6 lines, 3 filesPVP ok
2025-01-06 04:03 UTC1.3.0 newer than bounds+2410/−538 lines, 16 filesdep +data-array-bytedep ~basedep ~transformersPVP ok
2024-12-14 20:31 UTC1.2.1.3+22/−37 lines, 3 filesdep −doctestdep −mwc-randomdep −unliftiodep ~basedep ~containersdep ~primitivePVP ok
2024-02-04 16:26 UTC1.2.1.2+17/−12 lines, 2 filesdep ~doctestdep ~tastyPVP: major bump suggested
2022-05-09 02:32 UTC1.2.1.1+8/−9 lines, 3 filesdep −ghc-byteorderdep ~bytestringdep ~doctestdep ~mtlPVP ok

showing 5 of 15 versions

text >=1.0 && <2.2 2.1.4 → 2.1.5
2026-11-27 23:30 UTC2.1.5+33786/−32979 lines, 58 filesPVP: major bump suggested
2026-01-28 08:30 UTC2.1.4+30991/−20199 lines, 35 filesdep +template-haskell-liftdep ~QuickCheckdep ~template-haskellPVP ok
2025-08-01 20:08 UTC2.1.3+2107/−1827 lines, 30 filesdep +splitmixdep +temporarydep ~QuickCheckdep ~ghc-primdep ~template-haskellPVP ok
2024-10-26 13:22 UTC2.1.2+43588/−15378 lines, 41 filesdep ~basedep ~binaryPVP: major bump suggested
2024-02-16 22:16 UTC2.1.1+986/−412 lines, 26 filesdep ~QuickCheckdep ~ghc-primdep ~template-haskellPVP: major bump suggested

showing 5 of 83 versions

Reverse dependencies

1 packages depend on FiniteCategories; 1 have bounds that exclude 0.6.5.1

FiniteCategoriesGraphViz 0.2.0.0 requires FiniteCategories >=0.5.0.0 && <0.6.0.0 excludes current (upper bound)