package ppx_expect
Cram like framework for OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
ppx_expect-v0.12.0.tar.gz
sha256=d35195a7c56654d3ec6b82126bdbd8cbf39bdc0c5df20a598fc2fa44188aecfe
md5=139c7e7a32b9aba0a21e264ecbd470de
doc/ppx_expect.matcher/Expect_test_matcher/Cst/Line/index.html
Module Cst.Line
type 'a not_blank = {
trailing_blanks : Base.string;
(*regexp: "
*)\t
*"orig : Base.string;
(*regexp: "
*)^\n
*^ \t\n
"data : 'a;
}
val sexp_of_not_blank :
('a -> Ppx_sexp_conv_lib.Sexp.t) ->
'a not_blank ->
Ppx_sexp_conv_lib.Sexp.t
val sexp_of_t :
('a -> Ppx_sexp_conv_lib.Sexp.t) ->
'a t ->
Ppx_sexp_conv_lib.Sexp.t
val map : 'a t -> f:(Base.string -> 'a -> 'b) -> 'b t
The callback receive the orig
and data
fields
val data : 'a t -> blank:'a -> 'a
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>