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/eq/Eq/index.html

Module Eq

Eq plugin: receive another value as inherited attribute and test for equality.

Very similar to Compare plugin.

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

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

Inherited attribute' is the same as argument, synthetized attribute is GT.comparison.

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

Innovation. Community. Security.