aboutsummaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2019-08-20 20:30:32 +0200
committerEmilio Jesus Gallego Arias2019-10-29 16:59:09 +0100
commitf0c393b57e89d01fd409008d3b88ea3a2ed87236 (patch)
tree3647d3db94e8993b347c63c700613d71ddff2452 /dev
parente9dddcb2b5297f2e601a2e2d65a131ee5fde19e4 (diff)
[declare] Make `proof_entry` a private type.
Proof entries are low-level objects and should not be manipulated by users directly, in particular as we want to unify all the code around declaration of constants. This patch doesn't bring by itself a lot of improvement, other than setting the base where to extend the interface, however it already points out some points of interest, and in particular the manipulation of opacity done by `Derive` which can be quite problematic, and of course the handling of delayed proofs. So while this is a first step, IMHO it doesn't harm a lot having it in place, but a lot more work will be needed, in particular regarding the handling of delayed proofs. To make `proof_entry` a fully abstract type, the remaining work is focused on `abstract` and obligations, both of which do quite a few hackery that will have to be migrated to the `Declare` API.
Diffstat (limited to 'dev')
0 files changed, 0 insertions, 0 deletions