Open the imported Cabal file ↗
- author
- Edward Kmett
- build-type
- Simple
- cabal-version
- 1.12
- category
- Data
- extra-source-files
- Changelog.md
- license
- BSD2
- license-file
- LICENSE
- maintainer
- Oleg Grenrus <oleg.grenrus@iki.fi>
- name
- indexed-traversable
- synopsis
- FunctorWithIndex, FoldableWithIndex, TraversableWithIndex
- tested-with
- GHC ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.6 || ==9.8.4 || ==9.10.1 || ==9.12.4 || ==9.14.1
- version
- 0.1.5
Show the complete metadata as JSON
{
"schemaVersion": 1,
"name": "indexed-traversable",
"version": "0.1.5",
"cabalVersion": "1.12",
"buildType": "Simple",
"fields": {
"author": [
"Edward Kmett"
],
"build-type": [
"Simple"
],
"cabal-version": [
"1.12"
],
"category": [
"Data"
],
"description": [
"This package provides three useful generalizations:\n.\n@\nclass Functor f => FunctorWithIndex i f | f -> i where\n\\ imap :: (i -> a -> b) -> f a -> f b\n@\n.\n@\nclass Foldable f => FoldableWithIndex i f | f -> i where\n\\ ifoldMap :: Monoid m => (i -> a -> m) -> f a -> m\n@\n.\n@\nclass (FunctorWithIndex i t, FoldableWithIndex i t, Traversable t) => TraversableWithIndex i t | t -> i where\n\\ itraverse :: Applicative f => (i -> a -> f b) -> t a -> f (t b)\n@\n.\nThis package contains instances for types in GHC boot libraries.\nFor some additional instances see [indexed-traversable-instances](https://hackage.haskell.org/package/indexed-traversable-instances).\n.\nThe [keys](https://hackage.haskell.org/package/keys) package provides similar functionality,\nbut uses (associated) @TypeFamilies@ instead of @FunctionalDependencies@."
],
"extra-source-files": [
"Changelog.md"
],
"license": [
"BSD2"
],
"license-file": [
"LICENSE"
],
"maintainer": [
"Oleg Grenrus <oleg.grenrus@iki.fi>"
],
"name": [
"indexed-traversable"
],
"synopsis": [
"FunctorWithIndex, FoldableWithIndex, TraversableWithIndex"
],
"tested-with": [
"GHC ==8.6.5\n|| ==8.8.4\n|| ==8.10.7\n|| ==9.0.2\n|| ==9.2.8\n|| ==9.4.8\n|| ==9.6.6\n|| ==9.8.4\n|| ==9.10.1\n|| ==9.12.4\n|| ==9.14.1"
],
"version": [
"0.1.5"
]
},
"components": [
{
"kind": "library",
"name": "main",
"tree": {
"data": {
"buildable": null,
"exposedModules": [
"Data.Foldable.WithIndex",
"Data.Foldable1.WithIndex",
"Data.Functor.WithIndex",
"Data.Traversable.WithIndex"
],
"otherModules": [
"CoerceCompat",
"GhcList",
"WithIndex"
],
"dependencies": [
{
"package": "array",
"range": ">=0.3.0.2 && <0.6",
"libraries": [
"main"
]
},
{
"package": "base",
"range": ">=4.12 && <4.23",
"libraries": [
"main"
]
},
{
"package": "containers",
"range": ">=0.6.0.1 && <0.9",
"libraries": [
"main"
]
},
{
"package": "transformers",
"range": ">=0.5.6.0 && <0.7",
"libraries": [
"main"
]
}
],
"fields": {}
},
"branches": [
{
"condition": {
"not": {
"flag": "base-ge-4-18"
}
},
"then": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [
{
"package": "foldable1-classes-compat",
"range": ">=0.1 && <0.2",
"libraries": [
"main"
]
}
],
"fields": {}
},
"branches": []
},
"else": null
},
{
"condition": {
"flag": "base-ge-4-18"
},
"then": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [
{
"package": "base",
"range": ">=4.18",
"libraries": [
"main"
]
}
],
"fields": {}
},
"branches": []
},
"else": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [
{
"package": "base",
"range": "<4.18",
"libraries": [
"main"
]
}
],
"fields": {}
},
"branches": []
}
}
]
}
}
],
"setupDependencies": [],
"flags": [
{
"name": "base-ge-4-18",
"default": true,
"manual": false,
"description": "@base >=4.18@ (GHC-9.6)"
}
],
"sourceRepositories": [
{
"kind": "head",
"fields": {
"location": [
"https://github.com/haskellari/indexed-traversable"
],
"subdir": [
"indexed-traversable"
],
"type": [
"git"
]
}
}
],
"warnings": [],
"sourceUrl": "https://hackage.haskell.org/package/indexed-traversable-0.1.5/indexed-traversable.cabal",
"sha256": "f0b1b514dfc085281d0b4b9338fc0bd0c1d25ee77306f2a144ffe012b0afef8c",
"importedAt": "2026-10-14T12:44:48.073Z",
"dependencies": [
{
"package": "array",
"range": ">=0.3.0.2 && <0.6",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "base",
"range": ">=4.12 && <4.23",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "containers",
"range": ">=0.6.0.1 && <0.9",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "transformers",
"range": ">=0.5.6.0 && <0.7",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "foldable1-classes-compat",
"range": ">=0.1 && <0.2",
"libraries": [
"main"
],
"component": "library:main",
"conditions": [
{
"not": {
"flag": "base-ge-4-18"
}
}
]
},
{
"package": "base",
"range": ">=4.18",
"libraries": [
"main"
],
"component": "library:main",
"conditions": [
{
"flag": "base-ge-4-18"
}
]
},
{
"package": "base",
"range": "<4.18",
"libraries": [
"main"
],
"component": "library:main",
"conditions": [
{
"not": {
"flag": "base-ge-4-18"
}
}
]
}
],
"exposedModules": [
"Data.Foldable.WithIndex",
"Data.Foldable1.WithIndex",
"Data.Functor.WithIndex",
"Data.Traversable.WithIndex"
],
"documents": {
"readme": {
"status": "missing",
"sha256": null,
"error": null,
"checkedAt": "2026-10-14T12:44:48.762Z"
},
"changelog": {
"status": "available",
"sha256": "7e0ead62d6eb5027fc8c23e8e5181df12784752e164b7d44b789f20ecfad93f1",
"error": null,
"checkedAt": "2026-10-14T12:44:49.050Z"
}
},
"documentation": null,
"versions": [
{
"version": "0.1.5",
"imported_at": "2026-10-14T12:44:48.073Z"
}
]
}