package py
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
module W : sig ... end
val none : unit W.t
val bool : bool W.t
val int : int W.t
val float : float W.t
val string : string W.t
val pyobject : Py__.Py_base.pyobject W.t
val python_fn : 'a t -> Py__.Py_base.pyobject -> 'a
python_fn t pyobject
wraps a python function pyobject
so that it can be used in a type-safe way.
val ocaml_fn : 'a t -> 'a -> Py__.Py_base.pyobject -> Py__.Py_base.pyobject
ocaml_fn t f
wraps an ocaml function f
so that it can be used from python. E.g. it could get registered via CamlModule.add_fn
. Note that even if some argument conversion fails, f
will have been partially applied up to this point.
val to_string : 'a t -> string
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>