Apache-2.0 licensed and maintained by The Haskell IDE Team
This version can be pinned in stack with:hls-graph-2.13.0.0@sha256:e45f8008fc7c6b44fe14251515fb99c4fe35a30dc8445a58b7ba7d5aa2460745,3307

hls-graph - a limited reimplementation of Shake for in-memory build graphs

ghcide was originally built on top of Shake, a Haskell build system. Nowadays Shake has been replaced by a special purpose implementation of a build graph called hls-graph, which drops all the persistency features in exchange for simplicity and performance.

Features:

  • Dynamic dependencies
  • User defined rules (there are no predefined File rules as in Shake)
  • Build reports (a la Shake profiling)
  • “Reactive” change tracking for minimal rebuilds (not available in Shake)

What’s missing:

  • Persistence
  • A default set of rules for file system builds
  • A testsuite
  • General purpose application - many design decisions make assumptions specific to ghcide