Open the imported Cabal file ↗
- author
- Daniel Fischer
- bug-reports
- https://github.com/haskellari/integer-logarithms/issues
- build-type
- Simple
- cabal-version
- >=1.10
- category
- Math, Algorithms, Number Theory
- copyright
- (c) 2011 Daniel Fischer, 2017-2020 Oleg Grenrus, Andrew Lelechenko
- extra-source-files
- changelog.md readme.md
- homepage
- https://github.com/haskellari/integer-logarithms
- license
- MIT
- license-file
- LICENSE
- maintainer
- Oleg Grenrus <oleg.grenrus@iki.fi>
- name
- integer-logarithms
- stability
- Provisional
- synopsis
- Integer logarithms.
- tested-with
- GHC ==8.6.5 || ==8.8.4 || ==8.10.4 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.6 || ==9.8.4 || ==9.10.2 || ==9.12.2 || ==9.14.1
- version
- 1.0.5
Show the complete metadata as JSON
{
"schemaVersion": 1,
"name": "integer-logarithms",
"version": "1.0.5",
"cabalVersion": "1.10",
"buildType": "Simple",
"fields": {
"author": [
"Daniel Fischer"
],
"bug-reports": [
"https://github.com/haskellari/integer-logarithms/issues"
],
"build-type": [
"Simple"
],
"cabal-version": [
">=1.10"
],
"category": [
"Math, Algorithms, Number Theory"
],
"copyright": [
"(c) 2011 Daniel Fischer, 2017-2020 Oleg Grenrus, Andrew Lelechenko"
],
"description": [
"\"Math.NumberTheory.Logarithms\" and \"Math.NumberTheory.Powers.Integer\"\nfrom the arithmoi package.\n.\nAlso provides \"GHC.Integer.Logarithms.Compat\" and\n\"Math.NumberTheory.Power.Natural\" modules, as well as some\nadditional functions in migrated modules."
],
"extra-source-files": [
"changelog.md\nreadme.md"
],
"homepage": [
"https://github.com/haskellari/integer-logarithms"
],
"license": [
"MIT"
],
"license-file": [
"LICENSE"
],
"maintainer": [
"Oleg Grenrus <oleg.grenrus@iki.fi>"
],
"name": [
"integer-logarithms"
],
"stability": [
"Provisional"
],
"synopsis": [
"Integer logarithms."
],
"tested-with": [
"GHC ==8.6.5\n|| ==8.8.4\n|| ==8.10.4\n|| ==9.0.2\n|| ==9.2.8\n|| ==9.4.8\n|| ==9.6.6\n|| ==9.8.4\n|| ==9.10.2\n|| ==9.12.2\n|| ==9.14.1"
],
"version": [
"1.0.5"
]
},
"components": [
{
"kind": "library",
"name": "main",
"tree": {
"data": {
"buildable": null,
"exposedModules": [
"Math.NumberTheory.Logarithms",
"Math.NumberTheory.Powers.Integer",
"Math.NumberTheory.Powers.Natural",
"GHC.Integer.Logarithms.Compat"
],
"otherModules": [],
"dependencies": [
{
"package": "array",
"range": ">=0.5.3.0 && <0.6",
"libraries": [
"main"
]
},
{
"package": "base",
"range": ">=4.12.0.0 && <4.23",
"libraries": [
"main"
]
}
],
"fields": {}
},
"branches": [
{
"condition": {
"not": {
"compiler": "ghc",
"range": ">=7.10"
}
},
"then": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [
{
"package": "nats",
"range": ">=1.1.2 && <1.2",
"libraries": [
"main"
]
}
],
"fields": {}
},
"branches": []
},
"else": null
},
{
"condition": {
"compiler": "ghc",
"range": ">=9.0"
},
"then": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [
{
"package": "base",
"range": ">=4.15",
"libraries": [
"main"
]
}
],
"fields": {}
},
"branches": [
{
"condition": {
"not": {
"flag": "integer-gmp"
}
},
"then": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [
{
"package": "invalid-cabal-flag-settings",
"range": "<0",
"libraries": [
"main"
]
}
],
"fields": {}
},
"branches": []
},
"else": null
}
]
},
"else": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [
{
"package": "base",
"range": "<4.15",
"libraries": [
"main"
]
}
],
"fields": {}
},
"branches": [
{
"condition": {
"flag": "integer-gmp"
},
"then": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [
{
"package": "integer-gmp",
"range": "<1.1",
"libraries": [
"main"
]
}
],
"fields": {}
},
"branches": []
},
"else": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [
{
"package": "integer-simple",
"range": "-any",
"libraries": [
"main"
]
}
],
"fields": {}
},
"branches": []
}
}
]
}
},
{
"condition": {
"flag": "check-bounds"
},
"then": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [],
"dependencies": [],
"fields": {}
},
"branches": []
},
"else": null
}
]
}
},
{
"kind": "test-suite",
"name": "spec",
"tree": {
"data": {
"buildable": null,
"exposedModules": [],
"otherModules": [
"Math.NumberTheory.LogarithmsTests",
"Math.NumberTheory.TestUtils",
"Orphans"
],
"dependencies": [
{
"package": "base",
"range": "-any",
"libraries": [
"main"
]
},
{
"package": "integer-logarithms",
"range": "-any",
"libraries": [
"main"
]
},
{
"package": "QuickCheck",
"range": ">=2.16.0.0 && <2.18",
"libraries": [
"main"
]
},
{
"package": "smallcheck",
"range": ">=1.2 && <1.3",
"libraries": [
"main"
]
},
{
"package": "tasty",
"range": ">=1.4 && <1.6",
"libraries": [
"main"
]
},
{
"package": "tasty-quickcheck",
"range": ">=0.10 && <0.12",
"libraries": [
"main"
]
},
{
"package": "tasty-smallcheck",
"range": ">=0.8 && <0.9",
"libraries": [
"main"
]
}
],
"fields": {
"type": [
"exitcode-stdio-1.0"
]
}
},
"branches": []
}
}
],
"setupDependencies": [],
"flags": [
{
"name": "integer-gmp",
"default": true,
"manual": false,
"description": "integer-gmp or integer-simple"
},
{
"name": "check-bounds",
"default": false,
"manual": true,
"description": "Replace unsafe array operations with safe ones"
}
],
"sourceRepositories": [
{
"kind": "head",
"fields": {
"location": [
"https://github.com/haskellari/integer-logarithms"
],
"type": [
"git"
]
}
}
],
"warnings": [],
"sourceUrl": "https://hackage.haskell.org/package/integer-logarithms-1.0.5/integer-logarithms.cabal",
"sha256": "870ce80a2e704f179bcda12ee106389a484100fac1534abfd587aaaa51978e6b",
"importedAt": "2026-10-14T12:41:41.920Z",
"dependencies": [
{
"package": "array",
"range": ">=0.5.3.0 && <0.6",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "base",
"range": ">=4.12.0.0 && <4.23",
"libraries": [
"main"
],
"component": "library:main",
"conditions": []
},
{
"package": "nats",
"range": ">=1.1.2 && <1.2",
"libraries": [
"main"
],
"component": "library:main",
"conditions": [
{
"not": {
"compiler": "ghc",
"range": ">=7.10"
}
}
]
},
{
"package": "base",
"range": ">=4.15",
"libraries": [
"main"
],
"component": "library:main",
"conditions": [
{
"compiler": "ghc",
"range": ">=9.0"
}
]
},
{
"package": "invalid-cabal-flag-settings",
"range": "<0",
"libraries": [
"main"
],
"component": "library:main",
"conditions": [
{
"compiler": "ghc",
"range": ">=9.0"
},
{
"not": {
"flag": "integer-gmp"
}
}
]
},
{
"package": "base",
"range": "<4.15",
"libraries": [
"main"
],
"component": "library:main",
"conditions": [
{
"not": {
"compiler": "ghc",
"range": ">=9.0"
}
}
]
},
{
"package": "integer-gmp",
"range": "<1.1",
"libraries": [
"main"
],
"component": "library:main",
"conditions": [
{
"not": {
"compiler": "ghc",
"range": ">=9.0"
}
},
{
"flag": "integer-gmp"
}
]
},
{
"package": "integer-simple",
"range": "-any",
"libraries": [
"main"
],
"component": "library:main",
"conditions": [
{
"not": {
"compiler": "ghc",
"range": ">=9.0"
}
},
{
"not": {
"flag": "integer-gmp"
}
}
]
},
{
"package": "base",
"range": "-any",
"libraries": [
"main"
],
"component": "test-suite:spec",
"conditions": []
},
{
"package": "integer-logarithms",
"range": "-any",
"libraries": [
"main"
],
"component": "test-suite:spec",
"conditions": []
},
{
"package": "QuickCheck",
"range": ">=2.16.0.0 && <2.18",
"libraries": [
"main"
],
"component": "test-suite:spec",
"conditions": []
},
{
"package": "smallcheck",
"range": ">=1.2 && <1.3",
"libraries": [
"main"
],
"component": "test-suite:spec",
"conditions": []
},
{
"package": "tasty",
"range": ">=1.4 && <1.6",
"libraries": [
"main"
],
"component": "test-suite:spec",
"conditions": []
},
{
"package": "tasty-quickcheck",
"range": ">=0.10 && <0.12",
"libraries": [
"main"
],
"component": "test-suite:spec",
"conditions": []
},
{
"package": "tasty-smallcheck",
"range": ">=0.8 && <0.9",
"libraries": [
"main"
],
"component": "test-suite:spec",
"conditions": []
}
],
"exposedModules": [
"Math.NumberTheory.Logarithms",
"Math.NumberTheory.Powers.Integer",
"Math.NumberTheory.Powers.Natural",
"GHC.Integer.Logarithms.Compat"
],
"documents": {
"readme": {
"status": "available",
"sha256": "585ba047d323fd98593280c9c10c51d193356169c12a200b373ec925e83233a8",
"error": null,
"checkedAt": "2026-10-14T12:41:42.946Z"
},
"changelog": {
"status": "available",
"sha256": "007137d244bdb06e2137568a5496302e5e0e5cab8b03725a9d650131a0442270",
"error": null,
"checkedAt": "2026-10-14T12:41:42.859Z"
}
},
"documentation": null,
"versions": [
{
"version": "1.0.5",
"imported_at": "2026-10-14T12:41:41.920Z"
}
]
}