← Latest papers
💻 computer science

The Stackage Repository: An Exploratory Study of its Evolution

This paper presents the first large-scale empirical study of the Stackage repository's evolution from 2014 to 2023, analyzing over 51,000 packages to examine dependency stability and the prevalence of monad-based libraries.

Original authors: Paul Leger, Felipe Ruiz, Nicolás Sepúlveda, Ismael Figueroa, Nicolás Cardozo

Published 2026-02-11
📖 3 min read☕ Coffee break read

Original authors: Paul Leger, Felipe Ruiz, Nicolás Sepúlveda, Ismael Figueroa, Nicolás Cardozo

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are looking at a massive, city-wide Lego library.

In this library, instead of just having random bricks, there is a special "Gold Collection" (this is Stackage). This collection is curated to ensure that if you pick a set of bricks, they will all snap together perfectly without any pieces being broken or incompatible. This library is used by professional builders (industrial developers) all over the world to build complex structures (software).

This research paper is essentially a "History and Health Report" of how this Lego library has grown and changed from 2014 to 2023.

Here is the breakdown of what the researchers found, using our Lego analogy:

1. The "Broken Brick" Problem (Stability Issues)

The researchers wanted to see if the "Gold Collection" was actually as perfect as it claimed to be. They discovered that even in this curated collection, there are occasional "glitches."

Sometimes, a new instruction manual (a package) arrives that says, "To build this, you need a blue 2x4 brick," but that specific blue brick isn't actually in the library's current inventory. Or, two different manuals might demand the same brick, but one wants a red one and the other wants a blue one, making it impossible to follow both.

The takeaway: Even the best libraries need better "quality control" to make sure every piece promised in the manual is actually on the shelf.

2. The "Super-Bricks" (Monads)

In the world of Haskell (the programming language), there are special types of bricks called Monads. Think of these as "Magic Transformer Bricks." Most regular bricks just sit there, but these magic bricks can change their shape, hold liquid, or remember what happened to them in the previous step of the build.

The researchers looked for the most popular magic bricks. They found two "Super-Bricks" that almost everyone uses: mtl and transformers.

It’s like finding out that in a city of millions of Lego buildings, 90% of them rely on the exact same two types of magic hinges to make their doors move. These two bricks are the "glue" that holds the complex logic of the software together.

3. The "Messy Labeling" Problem (Metadata)

Every box in the library has a label that says what category it belongs to (e.g., "Wheels," "Windows," or "Trees") and how sturdy it is ("Stable" or "Experimental").

The researchers found that the librarians (the developers) are actually quite messy with their labels. Many boxes have no category at all, or the labels are written in a way that doesn't follow any rules. It’s like walking into a library where half the books don't have a genre listed on the spine.

Summary: The Big Picture

The researchers basically performed a "census" on 51,000 different "building kits" over ten years. They concluded that:

  • The library is growing fast, but it’s getting harder to keep all the pieces perfectly compatible.
  • A few "Magic Bricks" rule the world, and everyone relies on them.
  • The librarians need to be more organized with their labeling so builders don't get confused.

By identifying these patterns, the researchers are helping the "Librarians" (the Stackage maintainers) make the library even more reliable for the professional builders of the future.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →