package records
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
How to convert a type to and from JSON.
val make :
name:string ->
to_json:('a -> Yojson.Basic.json) ->
of_json:(Yojson.Basic.json -> 'a) ->
unit ->
'a t
Declare a new type.
val make_string :
name:string ->
to_string:('a -> string) ->
of_string:(string -> 'a) ->
unit ->
'a t
Declare a new type that marshal/unmarshal to strings.
val exn : exn t
How to represent exceptions.
val unit : unit t
How to represent unit
.
val string : string t
How to represent string
.
val int : int t
How to represent int
.
Build a representation of a couple. The labels identify the elements, not their types.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>