chiark / gitweb /
dep: Major overhaul.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 16 Jun 2008 22:27:44 +0000 (23:27 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 16 Jun 2008 23:35:14 +0000 (00:35 +0100)
commitaf33e77c00654c222a8a04a5e69a5eb1f56c1e8c
treeffe56fd31eca2e01709edc3483b09929423dda78
parentdd33a77309be7d492ef49bfdacbc131abe1ddced
dep: Major overhaul.

The previous implementation was just fundamentally incorrect.  The new
version is somewhat better organized (though fairly similar
superficially) and documented, and actually (I think) correct.

Changes include:

  * DELAY-RECOMPUTING-DEPS has been renamed to WITH-DEPS-FROZEN.  The
    new version is semantically slightly different: it's the only point
    which actually triggers recomputation.  It has also grown the
    ability to defer its body until after the current recomputation
    phase is complete.

  * It is now a (diagnosed) error to attempt to modify a dep during
    recomputation; modifications can be deferred explicitly, though
    doing this sort of thing automatically seems a bad idea.
dep.lisp