package zanuda

  1. Overview
  2. Docs

Module My_printtypedSource

These extra functions are an extension of Printtyped module from compiler libs. Maybe in new versions of compiler they will be available out of box.

include module type of struct include Printtyped end
val interface : Format.formatter -> Typedtree.signature -> unit
val implementation : Format.formatter -> Typedtree.structure -> unit
val implementation_with_coercion : Format.formatter -> Typedtree.implementation -> unit

New functions

Sourceval expr : Format.formatter -> Typedtree.expression -> unit
Sourceval make_Tstr_module : string option Asttypes.loc -> Types.module_presence -> loc:Location.t -> Typedtree.module_expr -> Typedtree.structure_item_desc
Sourceval me : Format.formatter -> Typedtree.module_expr -> unit
Sourceval dummy_vb : Typedtree.pattern -> Typedtree.expression -> Typedtree.value_binding
Sourceval pattern : Format.formatter -> Typedtree.pattern -> unit
Sourceval make_int_const : loc:Location.t -> int -> Parsetree.constant
Sourceval attrs : Format.formatter -> Ast_helper.attrs -> unit