github.com/haskell-hvr/cabal-plan

Library and utility for processing cabal's plan.json file

Open this visualization on its own page →

Contributors

10

Lines of Code

223

From

2017-03-19

To

2020-10-18

About haskell-hvr/cabal-plan

The cabal-plan project is a Haskell library and command-line utility designed to parse and process the plan.json file generated by Cabal, the standard package manager for Haskell. This file contains detailed information about the build plan that Cabal creates when resolving dependencies and preparing to compile a project.

The project provides programmatic access to build plan data through its library interface, allowing developers to inspect and manipulate information about which packages will be built, their versions, dependencies, and how they relate to each other. The utility component offers command-line tools for querying and analyzing this information without requiring custom code.

The project is primarily aimed at Haskell tool developers and build system integrators who need to work with Cabal's internal build planning data. It abstracts away the complexity of directly parsing the JSON format, providing a more convenient interface for downstream tools that need to understand or react to Cabal's dependency resolution and build decisions.

Share this video