aboutsummaryrefslogtreecommitdiffhomepage
path: root/library/libobject.mli
diff options
context:
space:
mode:
authorGravatar filliatr <filliatr@85f007b7-540e-0410-9357-904b9bb8a0f7>1999-09-19 14:17:35 +0000
committerGravatar filliatr <filliatr@85f007b7-540e-0410-9357-904b9bb8a0f7>1999-09-19 14:17:35 +0000
commit76e3b2928b766a76ee7e29dd3f6867cd48f95a52 (patch)
tree5a5a73ee8770cba524b8c24892f709a308e9ab3b /library/libobject.mli
parent5393ee683be9e19ab25888925f561ea4f4b1dddb (diff)
- un effort sur la doc (ocamlweb)
- module Nametab - module Impargs - correction bug : Parameter id : t => vérification que t est bien un type git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@76 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'library/libobject.mli')
-rw-r--r--library/libobject.mli19
1 files changed, 9 insertions, 10 deletions
diff --git a/library/libobject.mli b/library/libobject.mli
index 7ddac57b2..ff076ee39 100644
--- a/library/libobject.mli
+++ b/library/libobject.mli
@@ -6,14 +6,14 @@ open Names
(*i*)
(* [Libobject] declares persistent objects, given with three methods:
- - a caching function specifying how to add the object in the current
- scope of theory modules;
- - a loading function, specifying what to do when the object is loaded
- from the disk;
- - an opening function, specifying what to do when the module containing
- the object is opened;
- - a specification function, to extract its specification when writing
- the specification of a module to the disk (.vi) *)
+ a caching function specifying how to add the object in the current
+ scope of theory modules;
+ a loading function, specifying what to do when the object is loaded
+ from the disk;
+ an opening function, specifying what to do when the module containing
+ the object is opened;
+ a specification function, to extract its specification when writing
+ the specification of a module to the disk (.vi) *)
type 'a object_declaration = {
cache_function : section_path * 'a -> unit;
@@ -21,8 +21,7 @@ type 'a object_declaration = {
open_function : 'a -> unit;
specification_function : 'a -> 'a }
-(*s Given the object-name, the "loading" function, the "caching" function,
- and the "specification" function, the function [declare_object]
+(*s Given an object name and a declaration, the function [declare_object]
will hand back two functions, the "injection" and "projection"
functions for dynamically typed library-objects. *)