diff options
author | aspiwack <aspiwack@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2012-08-24 10:14:49 +0000 |
---|---|---|
committer | aspiwack <aspiwack@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2012-08-24 10:14:49 +0000 |
commit | a3e890a390e9541045b1ce4c024fffcca275ff90 (patch) | |
tree | 59606f7541bc5a599f196fa2cfa26dbba79f0419 /library/lib.mli | |
parent | 770154190c12f6b2f1a103ae16ce41b948cc2d27 (diff) |
Assumption commands are now displayed as unsafe in Coqide.
They are still marked as safe if they are part of a module type, though.
Also local assumptions such as "Hypothesis" or "Context" are displayed
as unsafe if they happen to be defined without a section.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@15760 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'library/lib.mli')
-rw-r--r-- | library/lib.mli | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/library/lib.mli b/library/lib.mli index eca3164e3..25c0e1b24 100644 --- a/library/lib.mli +++ b/library/lib.mli @@ -91,6 +91,9 @@ val sections_depth : unit -> int (** Are we inside an opened module type *) val is_module_or_modtype : unit -> bool val is_modtype : unit -> bool +(* [is_modtype_strict] checks not only if we are in a module type, but + if the latest module started is a module type. *) +val is_modtype_strict : unit -> bool val is_module : unit -> bool val current_mod_id : unit -> Names.module_ident |