diff options
| author | mlasson | 2015-01-21 11:07:32 +0100 |
|---|---|---|
| committer | Matthieu Sozeau | 2015-01-21 22:42:23 +0530 |
| commit | feca7916eaaceea96be4c15f08895578b3703a1c (patch) | |
| tree | 043e20ff64fe0f1b672dc41c3b411e31abf902df /toplevel/command.ml | |
| parent | 3527a32a9c055a1438f0c85b77d3dbd8d38cbd32 (diff) | |
Add the possibility of defining opaque terms with program.
Diffstat (limited to 'toplevel/command.ml')
| -rw-r--r-- | toplevel/command.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toplevel/command.ml b/toplevel/command.ml index 9cb3bb8660..608747d0e4 100644 --- a/toplevel/command.ml +++ b/toplevel/command.ml @@ -746,8 +746,8 @@ let interp_fix_body env_rec evdref impls (_,ctx) fix ccl = let build_fix_type (_,ctx) ccl = it_mkProd_or_LetIn ccl ctx -let declare_fix (_,poly,_ as kind) ctx f ((def,_),eff) t imps = - let ce = definition_entry ~types:t ~poly ~univs:ctx ~eff def in +let declare_fix ?(opaque = false) (_,poly,_ as kind) ctx f ((def,_),eff) t imps = + let ce = definition_entry ~opaque ~types:t ~poly ~univs:ctx ~eff def in declare_definition f kind ce imps (Lemmas.mk_hook (fun _ r -> r)) let _ = Obligations.declare_fix_ref := declare_fix |
