package ppx_expect
Cram like framework for OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
ppx_expect-v0.13.0.tar.gz
sha256=16a7db57df155d48ef0b29ded01bbe724afd0b796501b56759ebc828da8db842
md5=e9d928f6aed89da85a511ea3d8d57f58
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)"
>