comparison src/mod_db.sig @ 1737:78d7cc9c9b18

Don't modify the module cache after elaboration failures
author Adam Chlipala <adam@chlipala.net>
date Wed, 02 May 2012 08:56:19 -0400
parents 4a03aa3251cb
children
comparison
equal deleted inserted replaced
1736:7ec8dab190a7 1737:78d7cc9c9b18
33 val insert : Elab.decl * Time.time -> unit 33 val insert : Elab.decl * Time.time -> unit
34 (* Here's a declaration, including the modification timestamp of the file it came from. 34 (* Here's a declaration, including the modification timestamp of the file it came from.
35 * We might invalidate other declarations that depend on this one, if the timestamp has changed. *) 35 * We might invalidate other declarations that depend on this one, if the timestamp has changed. *)
36 36
37 val lookup : Source.decl -> Elab.decl option 37 val lookup : Source.decl -> Elab.decl option
38
39 (* Allow undoing to snapshots after failed compilations. *)
40 val snapshot : unit -> unit
41 val revert : unit -> unit
38 end 42 end