@hackage / lazy-hash

Identifiers for not-yet-computed values

Latest0.1.0.0

About

Metadata

  • Last updated , by leftaroundabout
  • License GPL-3.0-only
  • Maintained by: (@) jsag $ hvl.no

  • Lottery factor: 0

Links

Installation

Readme

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).