FiniteCategories: Finite categories and usual categorical constructions on them.
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.
[Skip to Readme]
Modules
[Index] [Quick Jump]
- Math
- Math.CartesianClosedCategory
- Math.Categories
- Math.Categories.CommaCategory
- Math.Categories.ConeCategory
- Math.Categories.FinCat
- Math.Categories.FinGrph
- Math.Categories.FinSet
- Math.Categories.FinSketch
- Math.Categories.FunctorCategory
- Math.Categories.Galaxy
- Math.Categories.Omega
- Math.Categories.Opposite
- Math.Categories.OrdinalCategory
- Math.Categories.PresheafCategory
- Math.Categories.TotalOrder
- Math.Category
- Math.CocompleteCategory
- Math.CompleteCategory
- Math.FiniteCategories
- Math.FiniteCategories.All
- Math.FiniteCategories.ColimitCategory
- Math.FiniteCategories.CommaCategory
- Math.FiniteCategories.CompositionGraph
- Math.FiniteCategories.ConeCategory
- Math.FiniteCategories.DiscreteCategory
- Math.FiniteCategories.DiscreteTwo
- Math.FiniteCategories.Ens
- Math.FiniteCategories.Examples
- Math.FiniteCategories.ExponentialCategory
- FinCat
- FinGrph
- FinSketch
- Math.FiniteCategories.FullSubcategory
- Math.FiniteCategories.FunctorCategory
- Math.FiniteCategories.Hat
- Math.FiniteCategories.LimitCategory
- Math.FiniteCategories.NumberCategory
- Math.FiniteCategories.One
- Math.FiniteCategories.Opposite
- Math.FiniteCategories.Parallel
- Math.FiniteCategories.SafeCompositionGraph
- Math.FiniteCategories.Square
- Math.FiniteCategories.Subcategory
- Math.FiniteCategories.V
- Math.FiniteCategory
- Math.FiniteCategoryError
- Math.Functors
- IO
Downloads
- FiniteCategories-0.6.5.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.1.0.0, 0.2.0.0, 0.3.0.0, 0.3.0.1, 0.4.0.0, 0.5.0.0, 0.6.0.0, 0.6.0.1, 0.6.0.2, 0.6.1.0, 0.6.1.1, 0.6.2.0, 0.6.3.0, 0.6.3.1, 0.6.4.0, 0.6.5.0, 0.6.5.1 |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4 && <5), containers (>=0.6.0.0 && <0.7), directory (>=1.3.8.1 && <1.4), filepath (>=1.4.100.1 && <1.5), random (>=1.2.1 && <1.3), text (>=1.0 && <2.2), WeakSets (>=1.6.1.0 && <1.7) [details] |
License | GPL-3.0-or-later |
Author | Guillaume Sabbagh |
Maintainer | guillaumesabbagh@protonmail.com |
Category | Maths, Data |
Home page | https://gitlab.utc.fr/gsabbagh/FiniteCategories |
Uploaded | by gsabbagh at 2024-05-31T16:02:19Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 513 total (41 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |