package ppx_compare
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Generation of comparison functions from types
Install
dune-project
Dependency
Authors
Maintainers
Sources
ppx_compare-v0.15.0.tar.gz
sha256=6a0728929a7b591dffa0f1099d989854f871238697c70b34475eb9ffdce17385
doc/ppx_compare.expander/Ppx_compare_expander/Compare/index.html
Module Ppx_compare_expander.CompareSource
include S
type_ ~hide ty is ty -> ty -> result_type where result_type is int for compare and bool for equal.
hide controls whether some [@merlin.hide] attributes should be added.
core_type ty is an expression of type ty -> ty -> result_type
Source
val str_type_decl :
ctxt:Ppxlib.Expansion_context.Deriver.t ->
(Ppxlib.rec_flag * Ppxlib.type_declaration list) ->
Ppxlib.structureSource
val sig_type_decl :
ctxt:Ppxlib.Expansion_context.Deriver.t ->
(Ppxlib.rec_flag * Ppxlib.type_declaration list) ->
Ppxlib.signatureequal_core_type ty is an expression of type ty -> ty -> bool, using the comparison function generated by core_type
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>