Open the imported Cabal file ↗
- author
- Edward A. Kmett
- bug-reports
- http://github.com/ekmett/semigroupoids/issues
- build-type
- Simple
- cabal-version
- 1.24
- category
- Control, Comonads
- copyright
- Copyright (C) 2011-2015 Edward A. Kmett
- extra-doc-files
- img/classes.svg
- extra-source-files
- .gitignore .vim.custom README.markdown CHANGELOG.markdown img/classes.dot
- homepage
- http://github.com/ekmett/semigroupoids
- license
- BSD2
- license-file
- LICENSE
- maintainer
- Edward A. Kmett <ekmett@gmail.com>
- name
- semigroupoids
- stability
- provisional
- synopsis
- Semigroupoids: Category sans id
- tested-with
- GHC == 8.0.2 , GHC == 8.2.2 , GHC == 8.4.4 , GHC == 8.6.5 , GHC == 8.8.4 , GHC == 8.10.7 , GHC == 9.0.2 , GHC == 9.2.8 , GHC == 9.4.8 , GHC == 9.6.7 , GHC == 9.8.4 , GHC == 9.10.3 , GHC == 9.12.2 , GHC == 9.14.1
- version
- 6.0.2
- x-revision
- 1
Show the complete metadata as JSON
{
"schemaVersion": 1,
"name": "semigroupoids",
"version": "6.0.2",
"cabalVersion": "1.24",
"buildType": "Simple",
"fields": {
"author": [
"Edward A. Kmett"
],
"bug-reports": [
"http://github.com/ekmett/semigroupoids/issues"
],
"build-type": [
"Simple"
],
"cabal-version": [
"1.24"
],
"category": [
"Control, Comonads"
],
"copyright": [
"Copyright (C) 2011-2015 Edward A. Kmett"
],
"description": [
"Provides a wide array of (semi)groupoids and operations for working with them.\n.\nA 'Semigroupoid' is a 'Category' without the requirement of identity arrows for every object in the category.\n.\nA 'Category' is any 'Semigroupoid' for which the Yoneda lemma holds.\n.\nWhen working with comonads you often have the @\\<*\\>@ portion of an @Applicative@, but\nnot the @pure@. This was captured in Uustalu and Vene's \\\"Essence of Dataflow Programming\\\"\nin the form of the @ComonadZip@ class in the days before @Applicative@. Apply provides a weaker invariant, but for the comonads used for data flow programming (found in the streams package), this invariant is preserved. Applicative function composition forms a semigroupoid.\n.\nSimilarly many structures are nearly a comonad, but not quite, for instance lists provide a reasonable 'extend' operation in the form of 'tails', but do not always contain a value.\n.\nWe describe the relationships between the type classes defined in this package\nand those from `base` (and some from `contravariant`) in the diagram below.\nThick-bordered nodes correspond to type classes defined in this package;\nthin-bordered ones correspond to type classes from elsewhere. Solid edges\nindicate a subclass relationship that actually exists; dashed edges indicate a\nsubclass relationship that /should/ exist, but currently doesn't.\n.\n<<https://raw.githubusercontent.com/ekmett/semigroupoids/master/img/classes.svg Relationships among type classes from this package and others>>\n.\nApply, Bind, and Extend (not shown) give rise the Static, Kleisli and Cokleisli semigroupoids respectively.\n.\nThis lets us remove many of the restrictions from various monad transformers\nas in many cases the binding operation or @\\<*\\>@ operation does not require them.\n.\nFinally, to work with these weaker structures it is beneficial to have containers\nthat can provide stronger guarantees about their contents, so versions of 'Traversable'\nand 'Foldable' that can be folded with just a 'Semigroup' are added."
],
"extra-doc-files": [
"img/classes.svg"
],
"extra-source-files": [
".gitignore\n.vim.custom\nREADME.markdown\nCHANGELOG.markdown\nimg/classes.dot"
],
"homepage": [
"http://github.com/ekmett/semigroupoids"
],
"license": [
"BSD2"
],
"license-file": [
"LICENSE"
],
"maintainer": [
"Edward A. Kmett <ekmett@gmail.com>"
],
"name": [
"semigroupoids"
],
"stability": [
"provisional"
],
"synopsis": [
"Semigroupoids: Category sans id"
],
"tested-with": [
"GHC == 8.0.2\n, GHC == 8.2.2\n, GHC == 8.4.4\n, GHC == 8.6.5\n, GHC == 8.8.4\n, GHC == 8.10.7\n, GHC == 9.0.2\n, GHC == 9.2.8\n, GHC == 9.4.8\n, GHC == 9.6.7\n, GHC == 9.8.4\n, GHC == 9.10.3\n, GHC == 9.12.2\n, GHC == 9.14.1"
],
"version": [
"6.0.2"
],
"x-revision": [
"1"
]
},
"components": [
{
"kind": "library",
"name": "main",
"tree": {
"data": {
"buildable": null,
"exposedModules": [
"Data.Bifunctor.Apply",
"Data.Functor.Alt",
"Data.Functor.Apply",
"Data.Functor.Bind",
"Data.Functor.Bind.Class",
"Data.Functor.Bind.Trans",
"Data.Functor.Extend",
"Data.Functor.Plus",
"Data.Groupoid",
"Data.Isomorphism",
"Data.Semigroup.Bifoldable",
"Data.Semigroup.Bitraversable",
"Data.Semigroup.Foldable",
"Data.Semigroup.Foldable.Class",
"Data.Semigroup.Traversable",
"Data.Semigroup.Traversable.Class",
"Data.Semigroupoid",
"Data.Semigroupoid.Categorical",
"Data.Semigroupoid.Dual",
"Data.Semigroupoid.Ob",
"Data.Semigroupoid.Static",
"Data.Traversable.Instances",
"Semigroupoids.Do"
],
"otherModules": [
"Semigroupoids.Internal"
],
"dependencies": [
{
"package": "base",
"range": ">=4.9 && <5",
"libraries": [
"main"
]
},
{
"package": "base-orphans",
"range": ">=0.8.4 && <1",
"libraries": [
"main"
]
},
{
"package": "bifunctors",
"range": ">=5.6 && <6",
"libraries": [
"main"
]
},
{
"package": "template-haskell",
"range": ">=0.2.11",
"libraries": [
"main"
]
},
{
"package": "transformers",
"range": ">=0.5 && <0.7",
"libraries": [
"main"
]
},
{
"package": "transformers-compat",
"range": ">=0.6 && <0.9",
"libraries": [
"main"
]
}
],
"fields": {}
},
"branches": [
{
"condition": {
"not": {
"compiler": "ghc",
"range": ">=9.6"
}
},
"then": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [
{
"package": "foldable1-classes-compat",
"range": ">=0.1 && <0.2",
"libraries": [
"main"
]
}
],
"fields": {}
},
"branches": []
},
"else": null
},
{
"condition": {
"compiler": "ghc",
"range": ">=9.6"
},
"then": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [
{
"package": "transformers",
"range": ">=0.6.1.0",
"libraries": [
"main"
]
}
],
"fields": {}
},
"branches": [
{
"condition": {
"flag": "containers"
},
"then": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [
{
"package": "containers",
"range": ">=0.6.7",
"libraries": [
"main"
]
}
],
"fields": {}
},
"branches": []
},
"else": null
}
]
},
"else": null
},
{
"condition": {
"flag": "containers"
},
"then": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [
{
"package": "containers",
"range": ">=0.5.7.1 && <0.9",
"libraries": [
"main"
]
}
],
"fields": {}
},
"branches": []
},
"else": null
},
{
"condition": {
"flag": "contravariant"
},
"then": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [
{
"package": "contravariant",
"range": ">=1.5.3 && <2",
"libraries": [
"main"
]
}
],
"fields": {}
},
"branches": []
},
"else": null
},
{
"condition": {
"flag": "comonad"
},
"then": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [
{
"package": "comonad",
"range": ">=5.0.8 && <6",
"libraries": [
"main"
]
}
],
"fields": {}
},
"branches": []
},
"else": null
},
{
"condition": {
"flag": "tagged"
},
"then": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [
{
"package": "tagged",
"range": ">=0.8.7 && <1",
"libraries": [
"main"
]
}
],
"fields": {}
},
"branches": []
},
"else": null
},
{
"condition": {
"flag": "unordered-containers"
},
"then": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [
{
"package": "hashable",
"range": ">=1.2.7.0 && <1.6",
"libraries": [
"main"
]
},
{
"package": "unordered-containers",
"range": ">=0.2.8.0 && <0.3",
"libraries": [
"main"
]
}
],
"fields": {}
},
"branches": []
},
"else": null
},
{
"condition": {
"or": [
{
"compiler": "ghc",
"range": ">=8.6"
},
{
"flag": "contravariant"
}
]
},
"then": {
"data": {
"buildable": null,
"exposedModules": [
"Data.Functor.Contravariant.Conclude",
"Data.Functor.Contravariant.Decide",
"Data.Functor.Contravariant.Divise"
],
"otherModules": [],
"dependencies": [],
"fields": {}
},
"branches": []
},
"else": null
},
{
"condition": {
"compiler": "ghc",
"range": ">=9.0"
},
"then": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [],
"fields": {}
},
"branches": []
},
"else": null
}
]
}
}
],
"setupDependencies": [],
"flags": [
{
"name": "containers",
"default": true,
"manual": true,
"description": "You can disable the use of the `containers` package using `-f-containers`.\n\nDisabing this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users."
},
{
"name": "contravariant",
"default": true,
"manual": true,
"description": "You can disable the use of the `contravariant` package using `-f-contravariant`.\n\nDisabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.\n\nIf disabled we will not supply instances of `Contravariant`\n"
},
{
"name": "comonad",
"default": true,
"manual": true,
"description": "You can disable the use of the `comonad` package using `-f-comonad`.\n\nDisabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.\n\nIf disabled we will not supply instances of `Comonad`\n"
},
{
"name": "tagged",
"default": true,
"manual": true,
"description": "You can disable the use of the `tagged` package using `-f-tagged`.\n\nDisabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users."
},
{
"name": "unordered-containers",
"default": true,
"manual": true,
"description": "You can disable the use of the `unordered-containers` package (and also its dependency `hashable`) using `-f-unordered-containers`.\n\nDisabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users."
}
],
"sourceRepositories": [
{
"kind": "head",
"fields": {
"location": [
"https://github.com/ekmett/semigroupoids.git"
],
"type": [
"git"
]
}
}
],
"warnings": [],
"sourceUrl": "https://hackage.haskell.org/package/semigroupoids-6.0.2/semigroupoids.cabal",
"sha256": "52c5a346fdf74380618f67ff784989ef9078498dbbdff09e4d8e2fed20202e2c",
"importedAt": "2026-10-14T12:51:41.325Z",
"dependencies": [
{
"package": "base",
"range": ">=4.9 && <5",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "base-orphans",
"range": ">=0.8.4 && <1",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "bifunctors",
"range": ">=5.6 && <6",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "template-haskell",
"range": ">=0.2.11",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "transformers",
"range": ">=0.5 && <0.7",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "transformers-compat",
"range": ">=0.6 && <0.9",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "foldable1-classes-compat",
"range": ">=0.1 && <0.2",
"libraries": [
"main"
],
"component": "library:main",
"conditions": [
{
"not": {
"compiler": "ghc",
"range": ">=9.6"
}
}
]
},
{
"package": "transformers",
"range": ">=0.6.1.0",
"libraries": [
"main"
],
"component": "library:main",
"conditions": [
{
"compiler": "ghc",
"range": ">=9.6"
}
]
},
{
"package": "containers",
"range": ">=0.6.7",
"libraries": [
"main"
],
"component": "library:main",
"conditions": [
{
"compiler": "ghc",
"range": ">=9.6"
},
{
"flag": "containers"
}
]
},
{
"package": "containers",
"range": ">=0.5.7.1 && <0.9",
"libraries": [
"main"
],
"component": "library:main",
"conditions": [
{
"flag": "containers"
}
]
},
{
"package": "contravariant",
"range": ">=1.5.3 && <2",
"libraries": [
"main"
],
"component": "library:main",
"conditions": [
{
"flag": "contravariant"
}
]
},
{
"package": "comonad",
"range": ">=5.0.8 && <6",
"libraries": [
"main"
],
"component": "library:main",
"conditions": [
{
"flag": "comonad"
}
]
},
{
"package": "tagged",
"range": ">=0.8.7 && <1",
"libraries": [
"main"
],
"component": "library:main",
"conditions": [
{
"flag": "tagged"
}
]
},
{
"package": "hashable",
"range": ">=1.2.7.0 && <1.6",
"libraries": [
"main"
],
"component": "library:main",
"conditions": [
{
"flag": "unordered-containers"
}
]
},
{
"package": "unordered-containers",
"range": ">=0.2.8.0 && <0.3",
"libraries": [
"main"
],
"component": "library:main",
"conditions": [
{
"flag": "unordered-containers"
}
]
}
],
"exposedModules": [
"Data.Bifunctor.Apply",
"Data.Functor.Alt",
"Data.Functor.Apply",
"Data.Functor.Bind",
"Data.Functor.Bind.Class",
"Data.Functor.Bind.Trans",
"Data.Functor.Extend",
"Data.Functor.Plus",
"Data.Groupoid",
"Data.Isomorphism",
"Data.Semigroup.Bifoldable",
"Data.Semigroup.Bitraversable",
"Data.Semigroup.Foldable",
"Data.Semigroup.Foldable.Class",
"Data.Semigroup.Traversable",
"Data.Semigroup.Traversable.Class",
"Data.Semigroupoid",
"Data.Semigroupoid.Categorical",
"Data.Semigroupoid.Dual",
"Data.Semigroupoid.Ob",
"Data.Semigroupoid.Static",
"Data.Traversable.Instances",
"Semigroupoids.Do",
"Data.Functor.Contravariant.Conclude",
"Data.Functor.Contravariant.Decide",
"Data.Functor.Contravariant.Divise"
],
"documents": {
"readme": {
"status": "available",
"sha256": "61ea4717a4e7e3e1546c5e032d6e5e3f7d139db68288aab7d05b55dc63d94f4a",
"error": null,
"checkedAt": "2026-10-14T12:51:42.150Z"
},
"changelog": {
"status": "available",
"sha256": "9abb6777f55981f0745276b967c675480b20d0cb4faddaf2c9850980464feefe",
"error": null,
"checkedAt": "2026-10-14T12:51:42.306Z"
}
},
"documentation": null,
"versions": [
{
"version": "6.0.2",
"imported_at": "2026-10-14T12:51:41.325Z"
}
]
}