package GT

  1. Overview
  2. Docs
Generic programming with extensible transformations

Install

Dune Dependency

Authors

Maintainers

Sources

v0.4.0.zip
sha256=4b4d220fc64f2d508a77d229c61ec199308f4f6182c19543c96842749bb9ac3c
sha512=f295b48b23016743111867b746c97cfedccd6f32497a0a5df454fcd7f66338404604fbdfaad44210f34b56a4aca0a3f96de5cc6427191468a567128850d380c4

doc/gfmt/Gfmt/index.html

Module Gfmt

Format module: pretty-prints a value to Format.formatter using Format module.

For type declaration type ('a,'b,...) typ = ... it will create a transformation function with type

(Format.formatter -> 'a -> unit) -> (Format.formatter -> 'b -> unit) -> ... -> Format.formatter -> ('a,'b,...) typ -> unit

Inherited attributes' type (both default and for type parameters) is Format.formatter. Synthesized attributes' type (both default and for type parameters) is unit.

val trait_name : string
module Make (AstHelpers : GTCommon.GTHELPERS_sig.S) : sig ... end
val register : unit -> unit
OCaml

Innovation. Community. Security.