package elpi
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
'a MUST be purely functional, i.e. backtracking is implemented by using * an old binding for 'a. * This limitation can be lifted if there is user request.
type ('a, 'b) source =
| CompilerState of 'b Compile.State.component * 'b -> 'a
| Other of unit -> 'a
The initial value of the constraint can be produced at compilation * time (e.g. by quotations) or by reading a global value.
val declare :
name:string ->
pp:(Format.formatter -> 'a -> unit) ->
init:('a, 'b) source ->
'a component
type t = Data.custom_state
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>