package GT

  1. Overview
  2. Docs
Generic programming with extensible transformations

Install

Dune Dependency

Authors

Maintainers

Sources

v0.4.2.tar.gz
sha256=d23fb8e20ca28ec9ae07feee45b39aee8fb87ab11ec55211e2365f2c5a1c4ccf
sha512=0ade04e78a4d8e24acf24d3e4cdf358532d68284fa8e801b25bdf21c3c0483bb97d1350e86abcf9f93efec870b07f0f067a5dccae81686b14265baab3a4e7c13

doc/show/Show/index.html

Module Show

Show plugin: converts value to a string.

Synthetized attributes' type (both default and for type parameters) is string.

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

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

('a -> string) -> ('b -> string) -> ... -> ('a,'b,...) typ -> string

See also: Fmt plugin.

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

Innovation. Community. Security.