package ego
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
The LANGUAGE
module type represents the definition of an arbitrary language for use with an EGraph.
val pp_shape :
(Stdlib.Format.formatter -> 'a -> unit) ->
Stdlib.Format.formatter ->
'a shape ->
unit
pp_shape f fmt s
pretty prints expressions of the language.
compare cmp a b
compares expressions a
and b
using cmp
to compare subexpressions.
op expr
retrieves the tag that discriminates the shape of the expression expr
.
val children : 'a shape -> 'a list
children exp
returns the subexpressions of expression exp
.
map_children exp f
maps the function f
over the sub-expressions of the expression exp
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>