lazy-hash

Identifiers for not-yet-computed values

Latest on Hackage:0.1.0.0@rev:3

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

GPL-3.0-only licensed by Justus Sagemüller
Maintained by (@) jsag $ hvl.no

This package gives a way to assign values with largely unique keys, without ever actually spending the time needed to compute the value. The basic idea is to hash the source code of some expression (in other words, its unnormalised AST), rather than the value (its normal form).