| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
open Names |
| 12 |
open Mod_subst |
| 13 |
open Declarations |
| 14 |
|
| 15 |
type 'a generic_module_body |
| 16 |
type module_body = mod_body generic_module_body |
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
type module_type_body = mod_type generic_module_body |
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
type structure_field_body = |
| 34 |
(module_body, module_type_body) Declarations.structure_field_body |
| 35 |
|
| 36 |
type structure_body = |
| 37 |
(module_body, module_type_body) Declarations.structure_body |
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
type module_signature = (module_type_body,structure_body) functorize |
| 42 |
|
| 43 |
type module_implementation = |
| 44 |
| Abstract |
| 45 |
| Algebraic of module_expression |
| 46 |
| Struct of delta_resolver * structure_body |
| 47 |
| FullStruct |
| 48 |
|
| 49 |
|
| 50 |
|
| 51 |
|
| 52 |
|
| 53 |
|
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
|
| 58 |
|
| 59 |
|
| 60 |
|
| 61 |
val mod_expr : module_body -> module_implementation |
| 62 |
val mod_type : 'a generic_module_body -> module_signature |
| 63 |
val mod_type_alg : 'a generic_module_body -> module_expression option |
| 64 |
val mod_delta : 'a generic_module_body -> delta_resolver |
| 65 |
val mod_retroknowledge : module_body -> Retroknowledge.action list |
| 66 |
|
| 67 |
val mod_global_delta : 'a generic_module_body -> delta_resolver option |
| 68 |
|
| 69 |
|
| 70 |
|
| 71 |
|
| 72 |
val make_module_body : module_signature -> Mod_subst.delta_resolver -> Retroknowledge.action list -> module_body |
| 73 |
val make_module_type : module_signature -> Mod_subst.delta_resolver -> module_type_body |
| 74 |
|
| 75 |
val strengthen_module_body : src:ModPath.t -> |
| 76 |
module_signature -> delta_resolver -> module_body -> module_body |
| 77 |
|
| 78 |
val strengthen_module_type : |
| 79 |
structure_body -> delta_resolver -> module_type_body -> module_type_body |
| 80 |
|
| 81 |
val replace_module_body : structure_body -> delta_resolver -> module_body -> module_body |
| 82 |
|
| 83 |
val module_type_of_module : module_body -> module_type_body |
| 84 |
val module_body_of_type : module_type_body -> module_body |
| 85 |
|
| 86 |
val functorize_module : (Names.MBId.t * module_type_body) list -> module_body -> module_body |
| 87 |
|
| 88 |
|
| 89 |
|
| 90 |
|
| 91 |
|
| 92 |
val set_implementation : module_implementation -> module_body -> module_body |
| 93 |
val set_algebraic_type : module_type_body -> module_expression -> module_type_body |
| 94 |
val set_retroknowledge : module_body -> Retroknowledge.action list -> module_body |
| 95 |
|
| 96 |
|
| 97 |
|
| 98 |
type subst_kind |
| 99 |
val subst_dom : subst_kind |
| 100 |
val subst_codom : subst_kind |
| 101 |
val subst_dom_codom : subst_kind |
| 102 |
val subst_shallow_dom_codom : Mod_subst.substitution -> subst_kind |
| 103 |
|
| 104 |
val subst_signature : subst_kind -> substitution -> |
| 105 |
ModPath.t -> module_signature -> module_signature |
| 106 |
|
| 107 |
val subst_structure : subst_kind -> substitution -> |
| 108 |
ModPath.t -> structure_body -> structure_body |
| 109 |
|
| 110 |
val subst_module : subst_kind -> substitution -> |
| 111 |
ModPath.t -> module_body -> module_body |
| 112 |
|
| 113 |
val subst_modtype : subst_kind -> substitution -> |
| 114 |
ModPath.t -> module_type_body -> module_type_body |
| 115 |
|
| 116 |
|
| 117 |
|
| 118 |
val hcons_generic_module_body : 'a generic_module_body -> 'a generic_module_body |
| 119 |
val hcons_module_body : module_body -> module_body |
| 120 |
val hcons_module_type : module_type_body -> module_type_body |
| 121 |
|
| 122 |
|
| 123 |
|
| 124 |
|
| 125 |
|
| 126 |
|
| 127 |
|
| 128 |
|
| 129 |
|
| 130 |
val clean_structure : Names.MBId.Set.t -> structure_body -> structure_body |