Access Hackage's package database via Data.Map


Version on this page:2.0.1@rev:2
LTS Haskell 22.30:2.1.3
Stackage Nightly 2024-07-24:2.1.3
Latest on Hackage:2.1.3

See all snapshots hackage-db appears in

BSD-3-Clause licensed by Peter Simons, Alexander Altman, Ben James
Maintained by Peter Simons
This version can be pinned in stack with:hackage-db-2.0.1@sha256:76534e7b61e3924ed3fbfcfa8c93e573f128c23b7e4617228672f33e1ac14c63,3133

This is an early and mostly undocumented release of the 2.x version of hackage-db that's intended mostly for experimenting with and testing of the new API. Porting code from 1.x to 2.x is pretty simple, but if you do that at this point, please expect minor details of this API to change in forthcoming releases.

Check out https://github.com/peti/hackage-db/tree/master/example/ for a collection of simple example programs that demonstrate how to use this code.