package gospel
Module Gospel.TmoduleSource
Namespace
Source
type namespace = {ns_ts : Ttypes.tysymbol Mstr.t;ns_ls : Tterm.lsymbol Mstr.t;ns_fd : Tterm.lsymbol Mstr.t;ns_xs : Ttypes.xsymbol Mstr.t;ns_ns : namespace Mstr.t;ns_tns : namespace Mstr.t;
}Source
val add :
allow_duplicate:bool ->
equal:('a -> 'a -> bool) ->
loc:Ppxlib.Location.t ->
'a Mstr.t ->
Mstr.key ->
'a ->
'a Mstr.tPrimitives types and functions
Modules
Source
type module_uc = {muc_nm : Gospel.Tast.Ident.t;muc_sigs : Tast.signature list;muc_prefix : string list;muc_import : namespace list;muc_export : namespace list;muc_files : file Mstr.t;muc_kid : known_ids;muc_crcm : Coercion.t;
}Module under construction with primitive types and functions
Pretty printing
Source
val print_mstr_vals :
(Format.formatter -> 'a -> unit) ->
Format.formatter ->
'a Mstr.t ->
unit