Apache-2.0 licensed and maintained by The Haskell IDE Team
This version can be pinned in stack with:hls-graph-2.15.0.0@sha256:72349438d3637900de38c05a638385dc688eed3ab8c7f4e6e95900e0bd540ee5,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